Bitrix API

DependenceTable extends Mesh

FinalYes

Class DependenceTable

Fields:

  • TASK_ID int mandatory
  • DEPENDS_ON_ID int mandatory

Table of Contents

Constants

LINK_TYPE_FINISH_FINISH  = 0x3
LINK_TYPE_FINISH_START  = 0x2
LINK_TYPE_START_FINISH  = 0x1
LINK_TYPE_START_START  = 0x0

Methods

checkLinkExists()  : mixed
createLink()  : mixed
getIDColumnName()  : mixed
getLinkCountForUser()  : mixed
getListByLegacyTaskFilter()  : mixed
Returns a list of INGOING DIRECT links according to the old-style (sutable for CTask::GetList()) filter A heavy-artillery function
getMap()  : array<string|int, mixed>
Returns entity map definition.
getPARENTIDColumnName()  : mixed
getSubTreeSql()  : mixed
For better perfomance purposes
getTableName()  : string
Returns DB table name for entity.
link()  : mixed
moveLink()  : mixed
unlink()  : mixed
validateType()  : array<string|int, mixed>
Returns validators for TYPE field.

Constants

public mixed LINK_TYPE_FINISH_FINISH = 0x3
public mixed LINK_TYPE_FINISH_START = 0x2
public mixed LINK_TYPE_START_FINISH = 0x1
public mixed LINK_TYPE_START_START = 0x0

Methods

checkLinkExists()

public static checkLinkExists(mixed $id, mixed $parentId[, array<string|int, mixed> $parameters = array('BIDIRECTIONAL' => false) ]) : mixed
Parameters
$id : mixed
$parentId : mixed
$parameters : array<string|int, mixed> = array('BIDIRECTIONAL' => false)
public static createLink(mixed $id, mixed $parentId[, mixed $behaviour = array() ]) : mixed
Parameters
$id : mixed
$parentId : mixed
$behaviour : mixed = array()

getIDColumnName()

public static getIDColumnName() : mixed

getLinkCountForUser()

public static getLinkCountForUser([mixed $userId = 0 ]) : mixed
Parameters
$userId : mixed = 0

getListByLegacyTaskFilter()

Returns a list of INGOING DIRECT links according to the old-style (sutable for CTask::GetList()) filter A heavy-artillery function

public static getListByLegacyTaskFilter([array<string|int, mixed> $filter = array() ][, array<string|int, mixed> $parameters = array() ]) : mixed
Parameters
$filter : array<string|int, mixed> = array()
$parameters : array<string|int, mixed> = array()

getMap()

Returns entity map definition.

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

getPARENTIDColumnName()

public static getPARENTIDColumnName() : mixed

getSubTreeSql()

For better perfomance purposes

public static getSubTreeSql(mixed $id) : mixed
Parameters
$id : mixed

getTableName()

Returns DB table name for entity.

public static getTableName() : string
Return values
string
public static link(mixed $id, mixed $parentId) : mixed
Parameters
$id : mixed
$parentId : mixed
public static moveLink(mixed $id, mixed $parentId[, mixed $behaviour = array('CREATE_PARENT_NODE_ON_NOTFOUND' => true) ]) : mixed
Parameters
$id : mixed
$parentId : mixed
$behaviour : mixed = array('CREATE_PARENT_NODE_ON_NOTFOUND' => true)
public static unlink(mixed $id) : mixed
Parameters
$id : mixed

validateType()

Returns validators for TYPE field.

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

        
On this page

Search results