Class Page
Representation of a page.
- ICanBoogie\Object implements ICanBoogie\ToArrayRecursive uses ICanBoogie\ToArrayRecursiveTrait, ICanBoogie\PrototypeTrait
-
ICanBoogie\ActiveRecord
-
Icybee\Modules\Nodes\Node
implements
Brickrouge\CSSClassNames
uses
Brickrouge\CSSClassNamesProperty,
ICanBoogie\ActiveRecord\CreatedAtProperty,
ICanBoogie\ActiveRecord\UpdatedAtProperty
-
Icybee\Modules\Pages\Page
Located at vendor/icanboogie-modules/pages/lib/activerecords/page.php
Methods summary
protected
string
|
|
protected
string
|
|
protected
string
|
|
public
|
|
public
array
|
|
protected
|
|
protected
|
|
protected
string
|
|
protected
string
|
|
public
Node
|
#
translation( string $language = null )
Returns the translation in the specified language for the record, or the record itself if no translation can be found. |
protected
|
|
protected
string
|
|
protected
|
|
protected
boolean
|
|
protected
boolean
|
|
protected
boolean
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
array[int]Page
|
#
lazy_get_navigation_children( )
Returns the page's children that are online and part of the navigation. |
protected
boolean
|
|
protected
integer
|
|
protected
integer
|
|
protected
|
|
protected
array[string]\Icybee\Modules\Pages\Pages\Content
|
|
protected
Icybee\Modules\Pages\Pages\Content
|
|
protected
array[string]mixed
|
|
protected
|
|
protected
|
Methods inherited from Icybee\Modules\Nodes\Node
__get(),
alter_persistent_properties(),
get_constructor(),
get_language(),
get_site(),
get_slug(),
get_user(),
lazy_get_native(),
lazy_get_translation(),
lazy_get_translations_keys(),
save(),
set_site(),
set_user()
Methods inherited from ICanBoogie\ActiveRecord
delete(),
get_model(),
get_model_id()
Methods inherited from ICanBoogie\Object
from(),
resolve_facade_properties(),
resolve_private_properties(),
to_array(),
to_json()
Methods inherited from Brickrouge\CSSClassNames
Methods inherited from ICanBoogie\ToArrayRecursive
Methods used from Brickrouge\CSSClassNamesProperty
Methods used from ICanBoogie\ActiveRecord\CreatedAtProperty
get_created_at(),
set_created_at()
Methods used from ICanBoogie\ActiveRecord\UpdatedAtProperty
get_updated_at(),
set_updated_at()
Methods used from ICanBoogie\ToArrayRecursiveTrait
Methods used from ICanBoogie\PrototypeTrait
__call(),
__set(),
__wakeup(),
get_prototype(),
has_method(),
has_property(),
last_chance_get(),
last_chance_set()
Magic methods summary
Constants summary
string |
PARENTID
|
'parentid' |
|
string |
LOCATIONID
|
'locationid' |
|
string |
PATTERN
|
'pattern' |
|
string |
WEIGHT
|
'weight' |
|
string |
TEMPLATE
|
'template' |
|
string |
LABEL
|
'label' |
|
string |
IS_NAVIGATION_EXCLUDED
|
'is_navigation_excluded' |
Constants inherited from Icybee\Modules\Nodes\Node
CONSTRUCTOR,
CREATED_AT,
IS_ONLINE,
LANGUAGE,
NATIVEID,
NID,
SITEID,
SLUG,
TITLE,
UID,
UPDATED_AT,
UUID
Properties summary
public
integer
|
$parentid |
#
The identifier of the parent page. |
public
integer
|
$locationid |
#
The identifier of the page the page is redirected to. |
public
string
|
$pattern |
#
The pattern used to create the URL of the nodes displayed by the page. |
public
integer
|
$weight |
#
Weight of the page in the hierarchy. |
public
string
|
$template |
#
Template used to render the page. |
public
string
|
$label |
#
The text to use instead of the title when it is used in the navigation of the breadcrumb. |
public
boolean
|
$is_navigation_excluded |
#
Whether the page is excluded from the navigation. |
public
string
|
$url_part |
#
Part of the URL captured by the pattern. |
public
array
|
$url_variables |
#
Variables captured from the URL using the pattern. |
public
Node
|
$node |
#
Node object currently acting as the body of the page. |
public
boolean
|
$cachable |
#
true if the page is cachable, false otherwise. |
Properties inherited from Icybee\Modules\Nodes\Node
$constructor,
$is_online,
$language,
$nativeid,
$nid,
$siteid,
$slug,
$title,
$uid,
$uuid
Properties inherited from ICanBoogie\ActiveRecord
Magic properties
public
|
$parent | |
#
Parent page of the page. |
public
|
$site | |
#
The site the page belongs to. |
public read-only
boolean
|
$is_accessible | |
#
Whether the page is accessible or not. |
public read-only
boolean
|
$is_active | |
#
Wheter the page is active or not. |
public read-only
boolean
|
$is_home | |
#
Whether the page is the home page of the site or not. |
public read-only
boolean
|
$is_trail | |
#
Whether the page is in the navigation trail or not. |
public read-only
integer
|
$descendents_count | |
#
The number of descendents. |
Magic properties inherited from Icybee\Modules\Nodes\Node
$created_at,
$css_class,
$native,
$next,
$previous,
$translation,
$updated_at,
$user