TimelineBindingTable extends DataManager
Class TimelineBindingTable
DO NOT WRITE ANYTHING BELOW THIS
<<< ORMENTITYANNOTATION
Table of Contents
Methods
- attach() : void
- Attach target entity to source entity events.
- checkBindingExists() : bool
- createCollection() : EO_TimelineBinding_Collection
- createObject() : EO_TimelineBinding
- deleteByOwner() : mixed
- detach() : mixed
- getById() : EO_TimelineBinding_Result
- getByPrimary() : EO_TimelineBinding_Result
- getEntity() : EO_TimelineBinding_Entity
- getList() : EO_TimelineBinding_Result
- getMap() : array<string|int, mixed>
- getTableName() : string
- isFixed() : bool
- query() : EO_TimelineBinding_Query
- rebind() : mixed
- Unbind events from old entity and bind them to new entity of same type.
- setIsFixed() : UpdateResult
- transferAssociation() : mixed
- Transfer events from old associated entity of one type to new entity of another type.
- transferOwnership() : mixed
- Unbind events from old entity of one type and bind them to new entity of another type.
- upsert() : void
- wakeUpCollection() : EO_TimelineBinding_Collection
- wakeUpObject() : EO_TimelineBinding
Methods
attach()
Attach target entity to source entity events.
public
static attach(int $srcEntityTypeID, int $srcEntityID, int $targEntityTypeID, int $targEntityID, array<string|int, mixed> $typeIDs) : void
Parameters
- $srcEntityTypeID : int
-
Source Entity Type ID.
- $srcEntityID : int
-
Source Entity ID.
- $targEntityTypeID : int
-
Target Entity Type ID.
- $targEntityID : int
-
Target Entity ID.
- $typeIDs : array<string|int, mixed>
-
Timeline Type IDs.
Tags
checkBindingExists()
public
static checkBindingExists(int $id, int $ownerTypeId, int $ownerId) : bool
Parameters
- $id : int
- $ownerTypeId : int
- $ownerId : int
Return values
boolcreateCollection()
public
static createCollection() : EO_TimelineBinding_Collection
Return values
EO_TimelineBinding_CollectioncreateObject()
public
static createObject([mixed $setDefaultValues = = 'true' ]) : EO_TimelineBinding
Parameters
- $setDefaultValues : mixed = = 'true'
Return values
EO_TimelineBindingdeleteByOwner()
public
static deleteByOwner(mixed $ownerID) : mixed
Parameters
- $ownerID : mixed
detach()
public
static detach(mixed $srcEntityTypeID, mixed $srcEntityID, mixed $targEntityTypeID, mixed $targEntityID, array<string|int, mixed> $typeIDs) : mixed
Parameters
- $srcEntityTypeID : mixed
- $srcEntityID : mixed
- $targEntityTypeID : mixed
- $targEntityID : mixed
- $typeIDs : array<string|int, mixed>
getById()
public
static getById(mixed $id) : EO_TimelineBinding_Result
Parameters
- $id : mixed
Return values
EO_TimelineBinding_ResultgetByPrimary()
public
static getByPrimary(mixed $primary[, array<string|int, mixed> $parameters = = '[]' ]) : EO_TimelineBinding_Result
Parameters
- $primary : mixed
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_TimelineBinding_ResultgetEntity()
public
static getEntity() : EO_TimelineBinding_Entity
Return values
EO_TimelineBinding_EntitygetList()
public
static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_TimelineBinding_Result
Parameters
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_TimelineBinding_ResultgetMap()
public
static getMap() : array<string|int, mixed>
Return values
array<string|int, mixed>getTableName()
public
static getTableName() : string
Return values
stringisFixed()
public
static isFixed(int $id, int $ownerTypeId, int $ownerId) : bool
Parameters
- $id : int
- $ownerTypeId : int
- $ownerId : int
Return values
boolquery()
public
static query() : EO_TimelineBinding_Query
Return values
EO_TimelineBinding_Queryrebind()
Unbind events from old entity and bind them to new entity of same type.
public
static rebind(int $entityTypeID, int $oldEntityID, int $newEntityID, array<string|int, mixed> $typeIDs) : mixed
Parameters
- $entityTypeID : int
-
Entity Type ID.
- $oldEntityID : int
-
Old Entity ID.
- $newEntityID : int
-
New Entity ID.
- $typeIDs : array<string|int, mixed>
-
Timeline Type IDs.
setIsFixed()
public
static setIsFixed(int $id, int $ownerTypeId, int $ownerId, bool $isFixed) : UpdateResult
Parameters
- $id : int
- $ownerTypeId : int
- $ownerId : int
- $isFixed : bool
Return values
UpdateResulttransferAssociation()
Transfer events from old associated entity of one type to new entity of another type.
public
static transferAssociation(int $oldEntityTypeID, int $oldEntityID, int $newEntityTypeID, int $newEntityID) : mixed
Ownership will not be transferred. This method can be applied only for entities which does not own any events.
Parameters
- $oldEntityTypeID : int
-
Old Entity Type ID.
- $oldEntityID : int
-
Old Old Entity ID.
- $newEntityTypeID : int
-
New Entity Type ID.
- $newEntityID : int
-
New Entity ID.
Tags
transferOwnership()
Unbind events from old entity of one type and bind them to new entity of another type.
public
static transferOwnership(int $oldEntityTypeID, int $oldEntityID, int $newEntityTypeID, int $newEntityID) : mixed
Parameters
- $oldEntityTypeID : int
-
Old Entity Type ID.
- $oldEntityID : int
-
Old Old Entity ID.
- $newEntityTypeID : int
-
New Entity Type ID.
- $newEntityID : int
-
New Entity ID.
Tags
upsert()
public
static upsert(array<string|int, mixed> $data) : void
Parameters
- $data : array<string|int, mixed>
wakeUpCollection()
public
static wakeUpCollection(mixed $rows) : EO_TimelineBinding_Collection
Parameters
- $rows : mixed
Return values
EO_TimelineBinding_CollectionwakeUpObject()
public
static wakeUpObject(mixed $row) : EO_TimelineBinding
Parameters
- $row : mixed