RawRecord implements RecordInterface
Read onlyYes
Holds all properties of a raw database row with unfiltered and unprocessed values.
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
- $computedProperties : ComputedProperties
- $pid : int
- $properties : array<string|int, mixed>
- $type : string
- $uid : int
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 ".".
- getMainType() : string
- This is the TCA table for the record, all in lowercase.
- 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".
- getUid() : int
- has() : bool
- toArray() : array<string|int, mixed>
Properties
$computedProperties
protected
ComputedProperties
$computedProperties
$pid
protected
int
$pid
$properties
protected
array<string|int, mixed>
$properties
$type
protected
string
$type
$uid
protected
int
$uid
Methods
__construct()
public
__construct(int $uid, int $pid, array<string|int, mixed> $properties, ComputedProperties $computedProperties, string $type) : mixed
Parameters
- $uid : int
- $pid : int
- $properties : array<string|int, mixed>
- $computedProperties : ComputedProperties
- $type : string
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
stringgetMainType()
This is the TCA table for the record, all in lowercase.
public
getMainType() : string
Return values
stringgetPid()
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|nullgetUid()
public
getUid() : int
Return values
inthas()
public
has(string $id) : bool
Parameters
- $id : string
Return values
booltoArray()
public
toArray() : array<string|int, mixed>