| CatalystX-Usul documentation | view source | Contained in the CatalystX-Usul distribution. |
CatalystX::Usul::Plugin::Controller::ModelHelper - Convenience methods for common model calls
0.3.$Revision: 576 $
package CatalystX::Usul;
use parent qw(Catalyst::Component CatalystX::Usul::Base);
package CatalystX::Usul::Controller;
use parent qw(CatalystX::Usul
CatalystX::Usul::ModelHelper
Catalyst::Controller);
package YourApp::Controller::YourController;
use parent qw(CatalystX::Usul::Controller);
Many convenience methods for common model calls
Add a message to the results div
Creates an XML response to and Ajax call which validates a data value for a given form field. Calls check_field in CatalystX::Usul::Model
Sets stash values for the navigation menus, tools menus, the footer, quick links and recovers the keys for the current form from the session store
Calls add_header
Calls add_footer
Generates a simple page not found page. No longer called as unknown pages cause a redirect to the controllers default page
Generates a context sensitive help page by calling get_help
Generates some blurb for the Overview panel of the sidebar accordion widget
Exposes the method of the same name in the base model class
Exposes the method of the same name in the base model class
Sets the popup flag to stop the browser from caching the window size in the browser state cookie. Clears the main navigation menu and adds a close window link
None
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>
Copyright (c) 2008 Pete 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
| CatalystX-Usul documentation | view source | Contained in the CatalystX-Usul distribution. |