Page
class \
- Implements
- ArrayAccess
- Uses
- PropertyTrait
Internal
not part of public API, as this needs to be streamlined and proven
Table of Contents
Interfaces
- ArrayAccess
Properties
- $properties : array<string, mixed>
- $specialProperties : array
- $specialPropertyNames : array
Methods
- __construct() : mixed
- getLanguageId() : int
- getPageId() : int
- getRequestedLanguage() : int|null
- getTranslationSource() : Page|null
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
- toArray() : array
Properties
$properties
protected
array<string, mixed>
$properties
= []
$specialProperties
protected
array
$specialProperties
= []
$specialPropertyNames
protected
array
$specialPropertyNames
= ['_language', '_LOCALIZED_UID', '_MP_PARAM', '_ORIG_uid', '_…Show the full value
['_language', '_LOCALIZED_UID', '_MP_PARAM', '_ORIG_uid', '_ORIG_pid', '_SHORTCUT_ORIGINAL_PAGE_UID', '_PAGES_OVERLAY', '_PAGES_OVERLAY_UID', '_PAGES_OVERLAY_LANGUAGE', '_PAGES_OVERLAY_REQUESTEDLANGUAGE', '_TRANSLATION_SOURCE']
Methods
__construct()
public
__construct(array $properties) : mixed
Parameters
- $properties : array
getLanguageId()
public
getLanguageId() : int
Return values
intgetPageId()
public
getPageId() : int
Return values
intgetRequestedLanguage()
public
getRequestedLanguage() : int|null
Return values
int|nullgetTranslationSource()
public
getTranslationSource() : Page|null
Return values
Page|nulloffsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
toArray()
public
toArray([bool $includeSpecialProperties = false ]) : array
Parameters
- $includeSpecialProperties : bool = false