ClearPress::controller - Application controller
$Revision: 424 $
my $oController = application::controller->new();
$oController->init();
$oController->decorator($oDecorator); my $oDecorator = $oController->decorator();
my $arAcceptedExtensions = $oController->accept_extensions(); [ {'.ext' => '_aspect'}, {'.js' => '_json'}, ]
my $arAcceptedHeaders = $oController->accept_headers(); [ {'text/mytype' => '_aspect'}, {'application/javascript' => '_json'}, ]
my ($sAction, $sEntity, $sAspect, $sId) = $oCtrl->process_request($oUtil);
my $sNS = $oCtrl->namespace(); my $sNS = app::controller->namespace();
my $pNS = $oCtrl->packagespace('model', 'entity_type'); my $pNS = $oCtrl->packagespace('view', 'entity_type'); my $pNS = app::controller->packagespace('model', 'entity_type', $oUtil); my $pNS = app::controller->packagespace('view', 'entity_type', $oUtil);
Roger Pettett, <rpettett@cpan.org>
Copyright (C) 2008 Roger Pettett
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install ClearPress, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ClearPress
CPAN shell
perl -MCPAN -e shell install ClearPress
For more information on module installation, please visit the detailed CPAN module installation guide.