Page extends Record implements ArrayAccess

Represents a record with all properties valid for this record type.

Internal

not part of public API, as this needs to be streamlined and proven

Table of Contents

Interfaces

ArrayAccess

Properties

$properties  : array<string|int, mixed>
$rawRecord  : RawRecord
$specialProperties  : array<string|int, mixed>
$specialPropertyNames  : array<string|int, mixed>
$systemProperties  : SystemProperties|null

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
getLanguageInfo()  : LanguageInfo|null
getMainType()  : string
This is the TCA table for the record, all in lowercase.
getOverlaidUid()  : int
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
getSystemProperties()  : SystemProperties|null
getTranslationSource()  : Page|null
getUid()  : int
getVersionInfo()  : VersionInfo|null
has()  : bool
offsetExists()  : bool
offsetGet()  : mixed
offsetSet()  : void
offsetUnset()  : void
toArray()  : array<string|int, mixed>

Properties

$properties

protected array<string|int, mixed> $properties

$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(RawRecord|array<string|int, mixed> $rawRecordOrProperties[, array<string|int, mixed> $properties = [] ][, SystemProperties|null $systemProperties = null ]) : mixed
Parameters
$rawRecordOrProperties : RawRecord|array<string|int, mixed>

RawRecord when created via RecordFactory, array for legacy usage

$properties : array<string|int, mixed> = []
$systemProperties : SystemProperties|null = null

get()

public get(string $id) : mixed
Parameters
$id : string

getFullType()

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
string

getLanguageId()

public getLanguageId() : int
Return values
int

getMainType()

This is the TCA table for the record, all in lowercase.

public getMainType() : string
Return values
string

getOverlaidUid()

public getOverlaidUid() : int
Return values
int

getPageId()

public getPageId() : int
Return values
int

getPid()

public getPid() : int
Return values
int

getRecordType()

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|null

getRequestedLanguage()

public getRequestedLanguage() : int|null
Return values
int|null

getTranslationSource()

public getTranslationSource() : Page|null
Return values
Page|null

getUid()

public getUid() : int
Return values
int

has()

public has(string $id) : bool
Parameters
$id : string
Return values
bool

offsetExists()

public offsetExists(mixed $offset) : bool
Parameters
$offset : mixed
Return values
bool

offsetGet()

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 $includeSystemProperties = false ]) : array<string|int, mixed>
Parameters
$includeSystemProperties : bool = false
Return values
array<string|int, mixed>

        
On this page

Search results