CatalystX::CMS::Model - manage template file paths
package MyCMS::Model::CMS; use strict; use base qw( CatalystX::CMS::Model ); 1;
CatalystX::CMS::Model is a subclass of CatalystX::CRUD::Model::File. Be sure to read that documentation.
Only new or overridden methods are documented here.
Sets inc_path() based on the main application cms config root values.
cms
Overrides base method to additionally set cms_root and ext in the returned CatalystX::CMS::Page object.
Called by fetch(). Locates cmspage in the filesystem if it exists, setting type and flavour flags and calling the read() method on cmspage if found.
Returns cmspage.
Returns a CODE ref according to CatalystX::CRUD::Model::File API to skip all .svn dirs and files not ending with file_ext().
.svn
Overrides default method to call fetch() on each page.
Peter Karman, <karman@cpan.org>
<karman@cpan.org>
Please report any bugs or feature requests to bug-catalystx-cms@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-catalystx-cms@rt.cpan.org
The Minnesota Supercomputing Institute http://www.msi.umn.edu/ sponsored the development of this software.
http://www.msi.umn.edu/
Copyright 2008 by the Regents of the University of Minnesota.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install CatalystX::CMS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CatalystX::CMS
CPAN shell
perl -MCPAN -e shell install CatalystX::CMS
For more information on module installation, please visit the detailed CPAN module installation guide.