Bitrix API

Task implements Recyclebinable

Table of Contents

Interfaces

Recyclebinable

Methods

getAdditionalData()  : array<string|int, mixed>
getDeleteMessage()  : string
getNotifyMessages()  : array<string|int, mixed>
isInTheRecycleBin()  : array<string|int, mixed>
Checks if tasks are in the recycle bin.
moveFromRecyclebin()  : bool
OnBeforeTaskDelete()  : mixed
previewFromRecyclebin()  : void
removeFromRecyclebin()  : bool
Removes entity from recycle bin

Methods

getAdditionalData()

public static getAdditionalData() : array<string|int, mixed>
Tags
throws
ObjectPropertyException
throws
SystemException
Return values
array<string|int, mixed>

getDeleteMessage()

public static getDeleteMessage([int $userId = 0 ]) : string
Parameters
$userId : int = 0
Return values
string

getNotifyMessages()

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

[ 'NOTIFY'=> [ 'RESTORE' => Loc::getMessage(''), 'REMOVE' => Loc::getMessage(''), ], 'CONFIRM' => [ 'RESTORE' => Loc::getMessage(''), 'REMOVE' => Loc::getMessage('') ]

isInTheRecycleBin()

Checks if tasks are in the recycle bin.

public static isInTheRecycleBin(array<string|int, mixed> $taskIds) : array<string|int, mixed>
Parameters
$taskIds : array<string|int, mixed>
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
array<string|int, mixed>

moveFromRecyclebin()

public static moveFromRecyclebin(Entity $entity) : bool
Parameters
$entity : Entity
Return values
bool

OnBeforeTaskDelete()

public static OnBeforeTaskDelete(int $taskId[, array<string|int, mixed> $task = [] ]) : mixed
Parameters
$taskId : int
$task : array<string|int, mixed> = []
Tags
throws
ObjectPropertyException
throws
SystemException
throws
ArgumentException

previewFromRecyclebin()

public static previewFromRecyclebin(Entity $entity) : void

and will be removed since recyclebin 23.0.0

Parameters
$entity : Entity
Tags
throws
NotImplementedException

removeFromRecyclebin()

Removes entity from recycle bin

public static removeFromRecyclebin(Entity $entity[, array<string|int, mixed> $params = [] ]) : bool
Parameters
$entity : Entity
$params : array<string|int, mixed> = []
Return values
bool

        
On this page

Search results