$relations
$relations :array<mixed,\FAA\Obj\Generic\AmountRelation>
$relations :array<mixed,\FAA\Obj\Generic\AmountRelation>
ToPlainObject(string $language = null,boolean $with_parent = true): Object
convert to plain data set translate and expose the current data attribute as plain resolved object
string | $language | A system language code or empty for raw setup |
boolean | $with_parent | When set to true the attributes will be resolved witch parent attributes included |
A simple attribute based php object
Children(string $language = null,boolean $plain = false): array<mixed,\FAA\Obj\Generic\FolderTree>
get raw list of children for this specific tree element reads all children of this folder and returns them as plain list
string | $language | The language to load the child nodes in |
boolean | $plain | Convert to plain on demand |
A list of children with type FolderTree
FetchRelation(integer $id,string $language = null,string $type = 'amountrelation'): \FAA\Obj\Generic\AmountRelation
Get relation
Fetch an amount relation object by id
integer | $id | The relation id |
string | $language | The language to resolve by |
string | $type | The relation type |
A system relation object
UpdateAttributeName(\stdClass $attr,string $data): \FAA\Obj\Result
Callback on update validate name
This function is called when the primary identifier is changed
\stdClass | $attr | The changed attribute |
string | $data | The new attribute value |
A system result object
RegisteredEvent( $name): \FAA\Obj\Sys\Event|null
Get registered event
$name |