NAME
MojoMojo::Schema::Result::Page
METHODS
tagged_descendants($tag)
Return descendants with the given tag.
update_content <%args>
Create a new content version for this page.
%args is each column of MojoMojo::M::Core::Content.
descendants_by_date
@descendants = $page->descendants_by_date;
Like "descendants", but returns pages sorted by the dates of their last content release dates and pages results (20 per page).
descendants
@descendants = $page->descendants;
Returns all descendants of this page (no paging), including the page itself.
user_tags($user)
Return popular tags for this page used $user
.
others_tags($user)
Return popular tags for this page used by other people than $user
.
tags_with_counts($user)
Return an array of {id, tag, refcount} for the $user
's tags.
path( [$path] )
TODO Accessor?
has_photos
Return the number of photos attached to this page. Use for galleries.
AUTHOR
Marcus Ramberg <mramberg@cpan.org>
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.