Bitrix API

AttachedObjectTable extends DataManager

FinalYes

Class AttachedObjectTable

Fields:

  • ID int mandatory
  • OBJECT_ID int mandatory
  • VERSION_ID int optional
  • IS_EDITABLE int optional
  • ALLOW_EDIT int optional
  • ALLOW_AUTO_COMMENT int optional
  • MODULE_ID string(32) optional
  • ENTITY_TYPE string(100) optional
  • ENTITY_ID int optional
  • CREATE_TIME datetime mandatory
  • CREATED_BY int

Table of Contents

Constants

MAX_LENGTH_BATCH_MYSQL_QUERY  = \Bitrix\Disk\Internals\Db\SqlHelper::MAX_LENGTH_BATCH_MYSQL_QUERY

Methods

className()  : string
createCollection()  : EO_AttachedObject_Collection
createObject()  : EO_AttachedObject
deleteByFilter()  : bool
Deletes rows by filter.
getById()  : EO_AttachedObject_Result
getByPrimary()  : EO_AttachedObject_Result
getEntity()  : EO_AttachedObject_Entity
getList()  : EO_AttachedObject_Result
getMap()  : mixed
getTableName()  : mixed
merge()  : mixed
query()  : EO_AttachedObject_Query
Creates and returns the Query object for the entity
updateBatch()  : mixed
Updates rows by filter (simple format).
validateEntityType()  : mixed
validateModule()  : mixed
wakeUpCollection()  : EO_AttachedObject_Collection
wakeUpObject()  : EO_AttachedObject

Constants

MAX_LENGTH_BATCH_MYSQL_QUERY

public mixed MAX_LENGTH_BATCH_MYSQL_QUERY = \Bitrix\Disk\Internals\Db\SqlHelper::MAX_LENGTH_BATCH_MYSQL_QUERY

Methods

className()

public static className() : string
Return values
string

the fully qualified name of this class.

createCollection()

public static createCollection() : EO_AttachedObject_Collection
Return values
EO_AttachedObject_Collection

createObject()

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

deleteByFilter()

Deletes rows by filter.

public static deleteByFilter(array<string|int, mixed> $filter) : bool
Parameters
$filter : array<string|int, mixed>

Filter

Tags
throws
ArgumentNullException
Return values
bool

getById()

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

getByPrimary()

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

getEntity()

public static getEntity() : EO_AttachedObject_Entity
Return values
EO_AttachedObject_Entity

getList()

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

merge()

public static merge(array<string|int, mixed> $data) : mixed
Parameters
$data : array<string|int, mixed>

query()

Creates and returns the Query object for the entity

public static query() : EO_AttachedObject_Query
Return values
EO_AttachedObject_Query

updateBatch()

Updates rows by filter (simple format).

public static updateBatch(array<string|int, mixed> $fields, array<string|int, mixed> $filter) : mixed

Filter support only column = value. Only =.

Parameters
$fields : array<string|int, mixed>

Fields.

$filter : array<string|int, mixed>

Filter.

validateEntityType()

public static validateEntityType() : mixed

wakeUpCollection()

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

wakeUpObject()

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

        
On this page

Search results