Record implements RecordInterface
Represents a record with all properties valid for this record type.
not part of public API, as this needs to be streamlined and proven
Table of Contents
Interfaces
- RecordInterface
- An interface for database / TCA records.
Properties
- $properties : array<string|int, mixed>
- $rawRecord : RawRecord
- $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|null
- getLanguageInfo() : LanguageInfo|null
- getMainType() : string
- This is the TCA table for the record, all in lowercase.
- getOverlaidUid() : 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".
- getSystemProperties() : SystemProperties|null
- getUid() : int
- getVersionInfo() : VersionInfo|null
- has() : bool
- toArray() : array<string|int, mixed>
Properties
$properties
        protected
            array<string|int, mixed>
    $properties
    
    
    
    
    
    
$rawRecord read-only
        protected
            RawRecord
    $rawRecord
    
    
    
    
    
    
$systemProperties read-only
        protected
            SystemProperties|null
    $systemProperties
     = null
    
    
    
    
    
Methods
__construct()
    public
                    __construct(RawRecord $rawRecord, array<string|int, mixed> $properties[, SystemProperties|null $systemProperties = null ]) : mixed
    Parameters
- $rawRecord : RawRecord
- $properties : array<string|int, mixed>
- $systemProperties : SystemProperties|null = null
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|null
    Return values
int|nullgetLanguageInfo()
    public
                    getLanguageInfo() : LanguageInfo|null
    Return values
LanguageInfo|nullgetMainType()
This is the TCA table for the record, all in lowercase.
    public
                    getMainType() : string
    Return values
stringgetOverlaidUid()
    public
                    getOverlaidUid() : 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|nullgetSystemProperties()
    public
                    getSystemProperties() : SystemProperties|null
    Return values
SystemProperties|nullgetUid()
    public
                    getUid() : int
    Return values
intgetVersionInfo()
    public
                    getVersionInfo() : VersionInfo|null
    Return values
VersionInfo|nullhas()
    public
                    has(string $id) : bool
    Parameters
- $id : string
Return values
booltoArray()
    public
                    toArray([bool $includeSystemProperties = false ]) : array<string|int, mixed>
    Parameters
- $includeSystemProperties : bool = false