Page implements RecordInterface, ArrayAccess uses PropertyTrait
not part of public API, as this needs to be streamlined and proven
Table of Contents
Interfaces
- RecordInterface
- An interface for database / TCA records.
- ArrayAccess
Properties
- $computedProperties : ComputedProperties
- $properties : array<string, mixed>
- $rawRecord : RawRecord
- $specialProperties : array<string|int, mixed>
- $specialPropertyNames : array<string|int, mixed>
Methods
- __construct() : mixed
- get() : mixed
- getComputedProperties() : ComputedProperties
- getFullType() : string
- The full type contains the type of the record (e.g. "be_users", which is usually the TCA table) and the subtype of the record (such as "textpic" in tt_content records) separated by a ".".
- getLanguageId() : int
- getMainType() : string
- This is the TCA table for the record, all in lowercase.
- getPageId() : int
- getPid() : int
- getRawRecord() : RawRecord
- getRecordType() : string|null
- The type contains the subtype of the record (such as "textpic"). Returns null if there is no "subtype".
- getRequestedLanguage() : int|null
- getTranslationSource() : Page|null
- getUid() : int
- has() : bool
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
- toArray() : array<string|int, mixed>
Properties
$computedProperties
protected
ComputedProperties
$computedProperties
$properties
protected
array<string, mixed>
$properties
= []
$rawRecord
protected
RawRecord
$rawRecord
$specialProperties
protected
array<string|int, mixed>
$specialProperties
= []
$specialPropertyNames
protected
array<string|int, mixed>
$specialPropertyNames
= ['_language', '_LOCALIZED_UID', '_REQUESTED_OVERLAY_LANGUAGE', '_MP_PARAM', '_ORIG_uid', '_ORIG_pid', '_SHORTCUT_ORIGINAL_PAGE_UID', '_TRANSLATION_SOURCE']
Methods
__construct()
public
__construct(array<string|int, mixed> $properties) : mixed
Parameters
- $properties : array<string|int, mixed>
get()
public
get(string $id) : mixed
Parameters
- $id : string
getComputedProperties()
public
getComputedProperties() : ComputedProperties
Return values
ComputedPropertiesgetFullType()
The full type contains the type of the record (e.g. "be_users", which is usually the TCA table) and the subtype of the record (such as "textpic" in tt_content records) separated by a ".".
public
getFullType() : string
Return values
stringgetLanguageId()
public
getLanguageId() : int
Return values
intgetMainType()
This is the TCA table for the record, all in lowercase.
public
getMainType() : string
Return values
stringgetPageId()
public
getPageId() : int
Return values
intgetPid()
public
getPid() : int
Return values
intgetRawRecord()
public
getRawRecord() : RawRecord
Return values
RawRecordgetRecordType()
The type contains the subtype of the record (such as "textpic"). Returns null if there is no "subtype".
public
getRecordType() : string|null
Return values
string|nullgetRequestedLanguage()
public
getRequestedLanguage() : int|null
Return values
int|nullgetTranslationSource()
public
getTranslationSource() : Page|null
Return values
Page|nullgetUid()
public
getUid() : int
Return values
inthas()
public
has(string $id) : bool
Parameters
- $id : string
Return values
booloffsetExists()
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<string|int, mixed>
Parameters
- $includeSpecialProperties : bool = false