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.
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 a CODE ref according to CatalystX::CRUD::Model::File API to skip all
.svn dirs and files not ending with file_ext().
Overrides default method to call fetch() on each page.
Please report any bugs or feature requests to
email@example.com, 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.
The Minnesota Supercomputing Institute
http://www.msi.umn.edu/ sponsored the development of this software.
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.