FileAccess Orion

Type extends BaseContent
in package

Table of Contents

$_parent  : mixed
__construct()  : mixed
Type constructor.
Copy()  : Result
Copy the element Copy the template with additional information
Delete()  : Result
Delete instance
Parent()  : Type|null
Get relative next parent
Save()  : Result
Save instance
Tabs()  : array<string|int, mixed>
Get list of tabs
ToSimpleObject()  : stdClass
UpdateClassCode()  : Result
Update the code value of the related php class

Properties

$_parent

private mixed $_parent = null

Type|null

Methods

__construct()

Type constructor.

public __construct(string $name[, bool $system = false ]) : mixed
Parameters
$name : string

The type id

$system : bool = false

Is a system type or a user space type

Return values
mixed

Copy()

Copy the element Copy the template with additional information

public Copy([mixed $payload = null ]) : Result
Parameters
$payload : mixed = null

New element definitions

Return values
Result

A system result object

Delete()

Delete instance

public Delete([bool $skip = false ]) : Result
Parameters
$skip : bool = false
Return values
Result

Parent()

Get relative next parent

public Parent() : Type|null
Return values
Type|null

Save()

Save instance

public Save([bool $force_new_id = false ]) : Result
Parameters
$force_new_id : bool = false
Return values
Result

Tabs()

Get list of tabs

public Tabs() : array<string|int, mixed>
Return values
array<string|int, mixed>

The list of tabs

ToSimpleObject()

public ToSimpleObject([null $language = null ]) : stdClass
Parameters
$language : null = null
Return values
stdClass

UpdateClassCode()

Update the code value of the related php class

public UpdateClassCode(string $code) : Result
Parameters
$code : string
Return values
Result

Search results