CatalystX::Usul::Model::Help - Provides data for help pages
0.6.$Revision: 1165 $
package MyApp::Model::Help; use base qw(CatalystX::Usul::Model::Help); 1; package MyApp::Controller::Foo; sub bar { my ($self, $c) = @_; $c->model( q(Help) )->get_help( $c->stash, q(Foo) ); }
Provides context sensitive help. Help text comes from running Pod::Html on the controller source
Constructor sets attributes for: default CSS filename and the application name from the application config
Provides information about the application. Content is implemented in a template
Adds some useful information to the footer if debug is turned on
Calls "add_debug_info" and "add_select_language"
Adds a form containing a popup menu that allows the user to select from the list of supported languages. Called from "add_footer"
$self->model( q(Help) )->documentation( $uri );
Adds a file type field to the form. Displays as an iframe containing the HTML document referenced by $uri
$uri
Adds the fields and button data to the stash for the user feedback form
Sends an email to the site administrators
Add a field of type POD
Extract the POD for a given module and renders it as HTML
Generates the data for a table that shows all the modules the application is using. Links allow the source code and the POD to be viewed
Generate the data for an XML response to a Javascript XMLHttpRequest()
XMLHttpRequest()
None
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) 2008 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.