Bitrix API

Tree extends DataManager

AbstractYes

Table of Contents

Methods

createLink()  : mixed
Links one item with another. Low-level method.
deleteLink()  : mixed
Breaks link between nodes. Low-level method.
deleteSubtree()  : mixed
dropLinkL()  : mixed
getDIRECTColumnName()  : mixed
getIDColumnName()  : mixed
getLinkCount()  : mixed
getMap()  : array<string|int, mixed>
Returns entity map definition.
getParentId()  : mixed
getPARENTIDColumnName()  : mixed
getPathToNode()  : mixed
getPathToNodeSql()  : mixed
getSubTree()  : mixed
getSubTreeSql()  : mixed
link()  : mixed
moveLink()  : mixed
Moves subtree. Low-level method.
unlink()  : mixed

Methods

Links one item with another. Low-level method.

public static createLink(mixed $id, mixed $parentId[, mixed $behaviour = array('LINK_DATA' => array()) ]) : mixed
Parameters
$id : mixed
$parentId : mixed
$behaviour : mixed = array('LINK_DATA' => array())

Breaks link between nodes. Low-level method.

public static deleteLink(mixed $id[, mixed $parentId = false ][, array<string|int, mixed> $behaviour = array('CHILDREN' => 'unlink') ]) : mixed
Parameters
$id : mixed
$parentId : mixed = false
$behaviour : array<string|int, mixed> = array('CHILDREN' => 'unlink')

deleteSubtree()

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

dropLinkL()

public static dropLinkL(mixed $id[, mixed $parentId = false ][, mixed $behaviour = array('CHILDREN' => 'unlink') ]) : mixed
Parameters
$id : mixed
$parentId : mixed = false
$behaviour : mixed = array('CHILDREN' => 'unlink')

getDIRECTColumnName()

public static getDIRECTColumnName() : mixed

getIDColumnName()

public static getIDColumnName() : mixed

getLinkCount()

public static getLinkCount() : mixed

getMap()

Returns entity map definition.

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

getParentId()

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

getPARENTIDColumnName()

public static getPARENTIDColumnName() : mixed

getPathToNode()

public static getPathToNode(mixed $id[, mixed $parameters = array() ]) : mixed
Parameters
$id : mixed
$parameters : mixed = array()

getPathToNodeSql()

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

getSubTree()

public static getSubTree(mixed $id[, mixed $parameters = array() ][, array<string|int, mixed> $behaviour = array('INCLUDE_SELF' => true) ]) : mixed
Parameters
$id : mixed
$parameters : mixed = array()
$behaviour : array<string|int, mixed> = array('INCLUDE_SELF' => true)

getSubTreeSql()

public static getSubTreeSql(mixed $id) : mixed
Parameters
$id : mixed
public static link(mixed $id, mixed $parentId) : mixed
Parameters
$id : mixed
$parentId : mixed

Moves subtree. Low-level method.

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

        
On this page

Search results