Business::Cart::Generic::Controller - Basic shopping cart
See Business::Cart::Generic.
Business::Cart::Generic implements parts of osCommerce and PrestaShop in Perl.
This is a sub-class of CGI::Application.
This class is never used stand-alone. See e.g. Business::Cart::Generic::Controller::Order.
$rm is a run mode.
This method is a classic CGI::Application cgiapp_prerun() method. See that module's documentation for details.
Using the CGI::Application object's param() method, it sets these parameters:
This is the hashref returned from Business::Cart::Generic::Util::Config -> new() -> config();
This is an object of type Business::Cart::Generic::Database.
This is an object of type Business::Cart::Generic::Util::Logger.
This is an object of type Text::Xslate.
This is an object of type Business::Cart::Generic::View.
This is a shortcut for $self -> param('logger') -> log($level => $s) for use by Business::Cart::Generic::Controller::* objects, which are all sub-classes of this module.
See Business::Cart::Generic::Util::Logger for details.
This method is a classic CGI::Application teardown() method. See that module's documentation for details.
It flushes the session to disk (if there were any changes), and closes down the database connexions for both the connector object and the logger object.
The file CHANGES was converted into Changelog.ini by Module::Metadata::Changes.
Version numbers < 1.00 represent development versions. From 1.00 up, they are production versions.
Many thanks are due to the people who chose to make osCommerce and PrestaShop, Zen Cart, etc, Open Source.
Email the author, or log a bug on RT:
https://rt.cpan.org/Public/Dist/Display.html?Name=Business::Cart::Generic.
Business::Cart::Generic was written by Ron Savage <ron@savage.net.au> in 2011.
Home page: http://savage.net.au/index.html.
Australian copyright (c) 2011, Ron Savage.
All Programs of mine are 'OSI Certified Open Source Software'; you can redistribute them and/or modify them under the terms of The Artistic License, a copy of which is available at: http://www.opensource.org/licenses/index.html
To install Business::Cart::Generic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::Cart::Generic
CPAN shell
perl -MCPAN -e shell install Business::Cart::Generic
For more information on module installation, please visit the detailed CPAN module installation guide.