Bitrix API

TypeTable extends DataManager

Class TypeTable

Fields:

  • XML_ID string(255) mandatory
  • NAME string(255) optional
  • DESCRIPTION string optional
  • EXTERNAL_ID string(100) optional
  • ACTIVE bool optional default 'Y'

Table of Contents

Methods

createCollection()  : EO_Type_Collection
createObject()  : EO_Type
getById()  : EO_Type_Result
getByPrimary()  : EO_Type_Result
getEntity()  : EO_Type_Entity
getList()  : EO_Type_Result
getMap()  : array<string|int, mixed>
Returns entity map definition.
getTableName()  : string
Returns DB table name for entity.
query()  : EO_Type_Query
validateExternalId()  : array<string|int, mixed>
Returns validators for EXTERNAL_ID field.
validateName()  : array<string|int, mixed>
Returns validators for NAME field.
validateXmlId()  : array<string|int, mixed>
Returns validators for XML_ID field.
wakeUpCollection()  : EO_Type_Collection
wakeUpObject()  : EO_Type

Methods

createCollection()

public static createCollection() : EO_Type_Collection
Return values
EO_Type_Collection

createObject()

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

getById()

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

getByPrimary()

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

getEntity()

public static getEntity() : EO_Type_Entity
Return values
EO_Type_Entity

getList()

public static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_Type_Result
Parameters
$parameters : array<string|int, mixed> = = '[]'
Return values
EO_Type_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_Type_Query
Return values
EO_Type_Query

validateExternalId()

Returns validators for EXTERNAL_ID field.

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

validateName()

Returns validators for NAME field.

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

validateXmlId()

Returns validators for XML_ID field.

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

wakeUpCollection()

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

wakeUpObject()

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

        
On this page

Search results