CatalystX::Usul::Model::Help - Create HTML from POD


CatalystX-Usul documentation  | view source Contained in the CatalystX-Usul distribution.

Index


Name

Top

CatalystX::Usul::Model::Help - Create HTML from POD

Version

Top

0.3.$Revision: 576 $

Synopsis

Top

   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) );
   }

Description

Top

Provides context sensitive help. Help text comes from running Pod::Html on the controller source

Subroutines/Methods

Top

new

Constructor sets attributes for: default CSS filename, libsdir, and application name from the application config

documentation

   $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

feedback_form

Adds the fields and button data to the stash for the user feedback form

feedback_send

Sends an email to the site administrators

get_help

Add the field to the stash that is the rendered HTML created by calling retrieve

module_docs

Extract the POD for a given module and renders it as HTML

module_list

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

overview

Generate the data for an XML response to a Javascript XMLHttpRequest()

retrieve

Calls Pod::Html to create the help text from the controller POD

Diagnostics

Top

None

Configuration and Environment

Top

None

Dependencies

Top

CatalystX::Usul::Model
CatalystX::Usul::Table
Pod::Html

Incompatibilities

Top

There are no known incompatibilities in this module

Bugs and Limitations

Top

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Author

Top

Peter Flanigan, <Support at RoxSoft.co.uk>

License and Copyright

Top


CatalystX-Usul documentation  | view source Contained in the CatalystX-Usul distribution.