EntityBinding extends Entity
Class EntityBinding
Table of Contents
Methods
- clearStartField() : void
- create() : static
- delete() : void
- deleteNoDemand() : DeleteResult
- doFinalAction() : Result
- getAllFields() : array<string|int, mixed>
- getAvailableFields() : array<string|int, mixed>
- getAvailableFieldsMap() : array<string|int, mixed>|null
- getClassName() : string
- getCustomizableFields() : array<string|int, mixed>
- getField() : string|null
- getFieldsDescription() : array<string|int, mixed>
- getFieldValues() : array<string|int, mixed>
- getId() : int
- getList() : Result
- getOwnerId() : int
- getOwnerTypeId() : int
- getRegistryEntity() : string
- getRegistryType() : string
- hasMeaningfulField() : bool
- isChanged() : bool
- isDeleted() : bool
- isMarkedFieldCustom() : bool
- isMathActionOnly() : bool
- isNewEntity() : bool
- isStartField() : bool
- load() : static|null
- markEntityAsNew() : void
- markFieldCustom() : mixed
- setField() : Result
- setFields() : Result
- setMathActionOnly() : void
- setOrder() : void
- toArray() : array<string|int, mixed>
- unmarkEntityAsNew() : void
- unmarkFieldCustom() : mixed
- verify() : Result
Methods
clearStartField()
public
clearStartField() : void
create()
public
static create(Order $order) : static
Parameters
- $order : Order
Tags
Return values
staticdelete()
public
delete() : void
deleteNoDemand()
public
static deleteNoDemand(mixed $orderId) : DeleteResult
Parameters
- $orderId : mixed
Tags
Return values
DeleteResultdoFinalAction()
public
doFinalAction([bool $hasMeaningfulField = false ]) : Result
Parameters
- $hasMeaningfulField : bool = false
Tags
Return values
ResultgetAllFields()
public
static getAllFields() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getAvailableFields()
public
static getAvailableFields() : array<string|int, mixed>
Return values
array<string|int, mixed>getAvailableFieldsMap()
public
static getAvailableFieldsMap() : array<string|int, mixed>|null
Tags
Return values
array<string|int, mixed>|nullgetClassName()
public
static getClassName() : string
Return values
stringgetCustomizableFields()
public
static getCustomizableFields() : array<string|int, mixed>
Return values
array<string|int, mixed>getField()
public
getField(mixed $name) : string|null
Parameters
- $name : mixed
Return values
string|nullgetFieldsDescription()
public
static getFieldsDescription() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getFieldValues()
public
getFieldValues() : array<string|int, mixed>
Return values
array<string|int, mixed>getId()
public
getId() : int
Return values
intgetList()
public
static getList([array<string|int, mixed> $parameters = [] ]) : Result
Parameters
- $parameters : array<string|int, mixed> = []
Tags
Return values
ResultgetOwnerId()
public
getOwnerId() : int
Return values
intgetOwnerTypeId()
public
getOwnerTypeId() : int
Return values
intgetRegistryEntity()
public
static getRegistryEntity() : string
Return values
stringgetRegistryType()
public
static getRegistryType() : string
Return values
stringhasMeaningfulField()
public
hasMeaningfulField() : bool
Return values
boolisChanged()
public
isChanged() : bool
Return values
boolisDeleted()
public
isDeleted() : bool
Return values
boolisMarkedFieldCustom()
public
isMarkedFieldCustom(string $name) : bool
Parameters
- $name : string
Return values
boolisMathActionOnly()
public
isMathActionOnly() : bool
Return values
boolisNewEntity()
public
isNewEntity() : bool
Return values
boolisStartField()
public
isStartField([bool $isMeaningfulField = false ]) : bool
Parameters
- $isMeaningfulField : bool = false
Return values
boolload()
public
static load(Order $order) : static|null
Parameters
- $order : Order
Tags
Return values
static|nullmarkEntityAsNew()
public
markEntityAsNew() : void
markFieldCustom()
public
markFieldCustom(string $name) : mixed
Parameters
- $name : string
Tags
setField()
public
setField(mixed $name, mixed $value) : Result
Parameters
- $name : mixed
- $value : mixed
Tags
Return values
ResultsetFields()
public
setFields(array<string|int, mixed> $values) : Result
Parameters
- $values : array<string|int, mixed>
Tags
Return values
ResultsetMathActionOnly()
public
setMathActionOnly([bool $value = false ]) : void
Parameters
- $value : bool = false
setOrder()
public
setOrder(Order $order) : void
Parameters
- $order : Order
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>unmarkEntityAsNew()
public
unmarkEntityAsNew() : void
unmarkFieldCustom()
public
unmarkFieldCustom(string $name) : mixed
Parameters
- $name : string
Tags
verify()
public
verify() : Result