Bitrix API

StructureBackwardConverter

Table of Contents

Methods

__construct()  : mixed
checkInactiveEmployees()  : string
checkParent()  : Node|null
clearOldStructureCache()  : void
convert()  : bool
createBackwardAccessCode()  : void
getCompanyStructureId()  : int|null
installDeputyHeadRole()  : string
moveEmployees()  : string
moveEmployeesToDepartments()  : bool
reSyncStructureTree()  : void
startDefaultConverting()  : string
updateInactiveEmployees()  : bool

Methods

__construct()

public __construct([NodeService|null $nodeService = null ][, StructureRepository|null $structureRepository = null ][, NodeMemberRepository|null $nodeMemberRepository = null ][, RoleRepository|null $roleRepository = null ][, NodeRepository|null $nodeRepository = null ][, StructureWalkerService|null $structureWalkerService = null ][, Logger|null $logger = null ]) : mixed
Parameters
$nodeService : NodeService|null = null
$structureRepository : StructureRepository|null = null
$nodeMemberRepository : NodeMemberRepository|null = null
$roleRepository : RoleRepository|null = null
$nodeRepository : NodeRepository|null = null
$structureWalkerService : StructureWalkerService|null = null
$logger : Logger|null = null

checkInactiveEmployees()

public static checkInactiveEmployees([int $limit = 20 ][, int $offset = 0 ]) : string
Parameters
$limit : int = 20
$offset : int = 0
Return values
string

createBackwardAccessCode()

public createBackwardAccessCode(Node $newNode, int $oldNodeId) : void
Parameters
$newNode : Node
$oldNodeId : int
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException

moveEmployees()

public static moveEmployees([int $limit = 20 ][, int $offset = 0 ]) : string
Parameters
$limit : int = 20
$offset : int = 0
Return values
string

        
On this page

Search results