NAME

A class for TABLE pages in schema main

SYNOPSIS

Ado::Model::Pages->create(domain_id=>1,alias=>'home',page_type=>'root');

DESCRIPTION

COLUMNS

Each column from table pages has an accessor method in this class.

id

pid

domain_id

alias

page_type

sorting

template

cache

expiry

permissions

user_id

group_id

tstamp

start

stop

published

hidden

deleted

changed_by

ALIASES

None.

METHODS

children

Returns a possibly empty ARRAYREF of Ado::Model::Pages objects WHERE $self->pid == $self->id. Note that the result is not cached and every call to "children" will execute a new SQL query.

GENERATOR

DBIx::Simple::Class::Schema

SEE ALSO

Ado::Model, DBIx::Simple::Class, DBIx::Simple::Class::Schema

AUTHOR

Красимир Беров (Krasimir Berov)

COPYRIGHT AND LICENSE

Copyright 2013-2015 Красимир Беров (Krasimir Berov).

This program is free software, you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License v3 (LGPL-3.0). You may copy, distribute and modify the software provided that modifications are open source. However, software that includes the license may release under a different license.

See http://opensource.org/licenses/lgpl-3.0.html for more information.