class Site implements TreeInterface, ObjectInterface, ObjectInterface (View source)

Traits

Properties

protected $siteConfig
protected $siteID
protected $pThemeID
protected $siteIsDefault
protected $siteHandle
protected $locales
protected $type

Methods

getAttributeValueObject($ak, $createIfNotExists = false)

No description

getAttribute($ak, $mode = false)

No description

Value
getAttributeValue($ak)

No description

clearAttribute($ak)

No description

Value
setAttribute($ak, mixed $value)

Sets the attribute of a user info object to the specified value, and saves it in the database.

__construct($appConfigRepository)

No description

updateSiteConfigRepository($appConfigRepository)

No description

getConfigRepository()

No description

mixed
getType()

No description

setType(mixed $type)

No description

mixed
getLocales()

No description

setLocales(mixed $locales)

No description

mixed
getSiteHomePageID()

No description

getSiteTreeID()

No description

getDefaultLocale()

No description

getSiteTreeObject()

No description

getSiteHomePageObject($version = 'RECENT')

No description

mixed
getSiteID()

No description

mixed
getSiteHandle()

No description

setSiteHandle(mixed $siteHandle)

No description

mixed
isDefault()

No description

setIsDefault(mixed $siteIsDefault)

No description

mixed
getSiteName()

No description

setSiteName($name)

No description

string
getSiteCanonicalURL()

Get the main site canonical URL.

string
getSiteAlternativeCanonicalURL()

Get the alternative site canonical URL.

string
getSiteSSLCanonicalURL()

Get the HTTPS site canonical URL (it may be the main or the alternative canonical URL).

mixed
getThemeID()

No description

setThemeID(mixed $pThemeID)

No description

Details

CategoryInterface getObjectAttributeCategory()

No description

Return Value

CategoryInterface

getAttributeValueObject($ak, $createIfNotExists = false)

No description

Parameters

$ak
$createIfNotExists

getAttribute($ak, $mode = false)

No description

Parameters

$ak
$mode

Value getAttributeValue($ak)

No description

Parameters

$ak

Return Value

Value

clearAttribute($ak)

No description

Parameters

$ak

Value setAttribute($ak, mixed $value)

Sets the attribute of a user info object to the specified value, and saves it in the database.

Parameters

$ak
mixed $value

Return Value

Value

getPermissionObjectIdentifier()

No description

getPermissionResponseClassName()

No description

getPermissionAssignmentClassName()

No description

getPermissionObjectKeyCategoryHandle()

No description

__construct($appConfigRepository)

No description

Parameters

$appConfigRepository

updateSiteConfigRepository($appConfigRepository)

No description

Parameters

$appConfigRepository

getConfigRepository()

No description

mixed getType()

No description

Return Value

mixed

setType(mixed $type)

No description

Parameters

mixed $type

mixed getLocales()

No description

Return Value

mixed

setLocales(mixed $locales)

No description

Parameters

mixed $locales

mixed getSiteHomePageID()

No description

Return Value

mixed

getSiteTreeID()

No description

getDefaultLocale()

No description

Tree getSiteTreeObject()

No description

Return Value

Tree

getSiteHomePageObject($version = 'RECENT')

No description

Parameters

$version

mixed getSiteID()

No description

Return Value

mixed

mixed getSiteHandle()

No description

Return Value

mixed

setSiteHandle(mixed $siteHandle)

No description

Parameters

mixed $siteHandle

mixed isDefault()

No description

Return Value

mixed

setIsDefault(mixed $siteIsDefault)

No description

Parameters

mixed $siteIsDefault

mixed getSiteName()

No description

Return Value

mixed

setSiteName($name)

No description

Parameters

$name

string getSiteCanonicalURL()

Get the main site canonical URL.

Return Value

string

empty string if it's not set

string getSiteAlternativeCanonicalURL()

Get the alternative site canonical URL.

Return Value

string

empty string if it's not set

string getSiteSSLCanonicalURL()

Get the HTTPS site canonical URL (it may be the main or the alternative canonical URL).

Return Value

string

empty string if it's not set

mixed getThemeID()

No description

Return Value

mixed

setThemeID(mixed $pThemeID)

No description

Parameters

mixed $pThemeID