CatalystX::CMS::Page - content storage class
my $page = $c->model('CMS')->fetch(file => 'foo/bar'); # $page isa CatalystX::CMS::Page
CatalystX::CMS::Page is a subclass of CatalystX::CRUD::Object.
Only new or overridden method are documented here.
Returns new CatalystX::CMS::Page object.
Calls create() on the delegate(), passing all params.
Calls read() on the delegate(), passing all params.
Calls update() on the delegate(), passing all params.
Calls delete() on the delegate(), passing all params.
Returns file() stringified.
Determines the url value based on file(), type() and flavour(). Sets the url() value and returns the value.
Returns the title from attrs().
title
Returns the type from attrs() or the local type if overriden in the page.
type
Returns the flavour from attrs() or the local flavour if overriden in the page.
flavour
Returns the delegate basename() without any file extension (as indicated by the delegate ext() value).
Returns array suitable for templating. The array data are the related URLs for the wrapper set for this 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.