CatalystX::Usul::Controller::Root - Root Controller for the application
Describes v0.17.$Rev: 1 $
package YourApp::Controller::Root; use CatalystX::Usul::Moose; BEGIN { extends q(CatalystX::Usul::Controller::Root) }
Exposes some generic endpoints implemented in the base class
Defines the following attributes
default_namespace
A simple string which is required. The default namespace
imager_class
A non empty simple string which defaults to Imager
Imager
Display a simple popup window containing the copyright and license information
The auto method redirects unauthorised users to this endpoint
The requested endpoint exists but has been deactivated by the administrators
Display an information screen explaining that the application has been closed by the administrators. An administrator must authenticate to reopen the application
Action to reopen the application. Does this by setting the global configuration attribute to false
Calls method of same name in parent class
Initializes the persistent URI attributes and loads the status messages
Calls method of same name in parent class to stuff the stash with data used by all pages
Dynamically generates a JPEG image used on the self registration screen to defeat bots.
Some text about the company whose application this is.
Attempt to render a view
Display a popup window that lets the user send an email to the site administrators
This private method is the action for the feedback controller
Generates a context sensitive help page by calling help_form
Generates transformations of any image under the document root. Calls transform and sets the response object directly
Expires the user object in the session store
Called when collecting profile data using Devel::NYTProf to stop the server. The environment variable MYAPP_QUIT_OK must be set to true for this to work, so don't do that on a production server
Redirects to default controller. Matches any uri not matched by another action
Call the RenderView action class
RenderView
Handles the post request to select the language used. Stores the requested language in the session and the redirects back to the original uri
Return the version number of this controller
View the source code for the current controller. Calls the view_file method in the CatalystX::Usul::Model::FileSystem model to display some source code with syntax highlighting
view_file
Debug can be turned on/off from the tools menu
There are no known incompatibilities in this module
There are no known bugs in this module. Please report problems to the address below. Patches are welcome
Peter Flanigan, <Support at RoxSoft.co.uk>
<Support at RoxSoft.co.uk>
Copyright (c) 2014 Peter Flanigan. All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic
This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
To install CatalystX::Usul, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CatalystX::Usul
CPAN shell
perl -MCPAN -e shell install CatalystX::Usul
For more information on module installation, please visit the detailed CPAN module installation guide.