Model_Page

class Nos\Page\Model_Page

Extends Nos\Orm\Model.

Constants

Page types

constant Nos\Page\Model_Page::TYPE_CLASSIC

Possible values of the page_type column.

External target types

constant Nos\Page\Model_Page::EXTERNAL_TARGET_NEW
constant Nos\Page\Model_Page::EXTERNAL_TARGET_SAME

Possible values of the page_external_link_type column.

Lock types

constant Nos\Page\Model_Page::LOCK_UNLOCKED
constant Nos\Page\Model_Page::LOCK_DELETION

Possible values of the page_lock column.

Relations

property Nos\Page\Model_Page::$children
property Nos\Page\Model_Page::$parent

Methods

Returns:string The href and target attributes for an HTML link, such as href="..." target="...".
static Nos\Page\Model_Page::url($params = array())
Parameters:
  • $params (array) –
    preview:If set, returns a preview URL
Returns:

The absolute URL of the page

Read the Docs v: 0.2
Versions
latest
chiba.2
chiba.1
0.2
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.