Class Site
Representation of a website.
- ICanBoogie\Object implements ICanBoogie\ToArrayRecursive uses ICanBoogie\ToArrayRecursiveTrait, ICanBoogie\PrototypeTrait
- ICanBoogie\ActiveRecord
- Icybee\Modules\Sites\Site uses ICanBoogie\ActiveRecord\CreatedAtProperty, ICanBoogie\ActiveRecord\UpdatedAtProperty
Located at vendor/icanboogie-modules/sites/lib/activerecord/site.php
Methods summary
public
|
|
public
integer
|
|
protected
string
|
|
protected
|
|
protected
|
|
public
|
#
resolve_path( string $relative )
Resolve the location of a relative path according site inheritence. |
protected
|
|
protected
array
|
|
protected
|
|
protected
|
Methods inherited from ICanBoogie\ActiveRecord
__sleep()
,
alter_persistent_properties()
,
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 ICanBoogie\ToArrayRecursive
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()
,
__get()
,
__set()
,
__wakeup()
,
get_prototype()
,
has_method()
,
has_property()
,
last_chance_get()
,
last_chance_set()
Magic methods summary
public
|
#
resolve_view_target( )
Return the page on which the view is displayed, or null if the view is not displayed. This method is injected by the "pages" module. |
public
string
|
Constants summary
string |
SITEID
|
'siteid' |
|
string |
SUBDOMAIN
|
'subdomain' |
|
string |
DOMAIN
|
'domain' |
|
string |
PATH
|
'path' |
|
string |
TLD
|
'tld' |
|
string |
TITLE
|
'title' |
|
string |
ADMIN_TITLE
|
'admin_title' |
|
string |
LANGUAGE
|
'language' |
|
string |
TIMEZONE
|
'tmezone' |
|
string |
NATIVEID
|
'nativeid' |
|
string |
STATUS
|
'status' |
|
string |
CREATED_AT
|
'created_at' |
|
string |
UPDATED_AT
|
'updated_at' |
|
string |
BASE
|
'/protected/' |
|
integer |
STATUS_OK
|
200 |
|
integer |
STATUS_UNAUTHORIZED
|
401 |
|
integer |
STATUS_NOT_FOUND
|
404 |
|
integer |
STATUS_UNAVAILABLE
|
503 |
Properties summary
public
mixed
|
$siteid | |
public
string
|
$path | |
public
string
|
$tld | |
public
string
|
$domain | |
public
string
|
$subdomain | |
public
mixed
|
$title | |
public
string
|
$admin_title | |
public
integer
|
$weight | |
public
string
|
$language | |
public
integer
|
$nativeid | |
public
string
|
$timezone | |
public
string
|
||
public
integer
|
$status |
Properties inherited from ICanBoogie\ActiveRecord
Magic properties
public
array
|
$translations |
|
#
Translations for the site. |
public
|
$created_at |
|
#
Date and time at which the site was created. |
public
|
$updated_at |
|
#
Date and time at which the site was updated. |