Bitrix API

CommandTable extends DataManager

Class CommandTable

Fields:

  • ID int mandatory
  • GUID string(32) mandatory
  • STATUS int mandatory
  • COMMAND string(255) mandatory
  • MODULE string(255) mandatory
  • CALLBACK string(255) mandatory
  • PARAMS string mandatory
  • FILE string
  • ERROR string(255)
  • ERROR_CODE string(255)
  • UPDATE_TIME datetime mandatory
  • CONTROLLER_URL string(255)

Table of Contents

Methods

createCollection()  : EO_Command_Collection
createObject()  : EO_Command
deleteOld()  : int
Deletes old records from b_transformer_command table
deleteOldAgent()  : mixed
getById()  : EO_Command_Result
getByPrimary()  : EO_Command_Result
getEntity()  : EO_Command_Entity
getList()  : EO_Command_Result
getMap()  : array<string|int, mixed>
Returns entity map definition.
getTableName()  : string
Returns DB table name for entity.
query()  : EO_Command_Query
wakeUpCollection()  : EO_Command_Collection
wakeUpObject()  : EO_Command

Methods

createCollection()

public static createCollection() : EO_Command_Collection
Return values
EO_Command_Collection

createObject()

public static createObject([mixed $setDefaultValues = = 'true' ]) : EO_Command
Parameters
$setDefaultValues : mixed = = 'true'
Return values
EO_Command

deleteOld()

Deletes old records from b_transformer_command table

public static deleteOld([int $days = 22 ][, int $portion = 100 ]) : int
Parameters
$days : int = 22

Records older then $days will be cleaned

$portion : int = 100

Number of records to clean at once

Return values
int

deleteOldAgent()

public static deleteOldAgent([mixed $days = 22 ][, mixed $portion = 100 ]) : mixed
Parameters
$days : mixed = 22
$portion : mixed = 100

getById()

public static getById(mixed $id) : EO_Command_Result
Parameters
$id : mixed
Return values
EO_Command_Result

getByPrimary()

public static getByPrimary(mixed $primary[, array<string|int, mixed> $parameters = = '[]' ]) : EO_Command_Result
Parameters
$primary : mixed
$parameters : array<string|int, mixed> = = '[]'
Return values
EO_Command_Result

getEntity()

public static getEntity() : EO_Command_Entity
Return values
EO_Command_Entity

getList()

public static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_Command_Result
Parameters
$parameters : array<string|int, mixed> = = '[]'
Return values
EO_Command_Result

getMap()

Returns entity map definition.

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

getTableName()

Returns DB table name for entity.

public static getTableName() : string
Return values
string

query()

public static query() : EO_Command_Query
Return values
EO_Command_Query

wakeUpCollection()

public static wakeUpCollection(mixed $rows) : EO_Command_Collection
Parameters
$rows : mixed
Return values
EO_Command_Collection

wakeUpObject()

public static wakeUpObject(mixed $row) : EO_Command
Parameters
$row : mixed
Return values
EO_Command

        
On this page

Search results