Bitrix API

Task extends Access

FinalYes

Table of Contents

Methods

__call()  : mixed
addDataBaseAccessCheck()  : array<string|int, mixed>
Alters query parameters to check access rights on database side
allow()  : mixed
canCreate()  : mixed
canDelete()  : mixed
canFetchData()  : mixed
canRead()  : mixed
canUpdate()  : mixed
deny()  : mixed
disable()  : mixed
Allows every and each action
enable()  : mixed
Restores controller`s normal behaviour
getClass()  : mixed
isEnabled()  : mixed
isImmutable()  : mixed
setImmutable()  : mixed
Normally you SHOULD NOT be able to modify default access controller behaviour, so immutable flag is at our rescue
spawn()  : Access

Methods

__call()

public __call(mixed $name, array<string|int, mixed> $arguments) : mixed
Parameters
$name : mixed
$arguments : array<string|int, mixed>

addDataBaseAccessCheck()

Alters query parameters to check access rights on database side

public addDataBaseAccessCheck(mixed $query[, array<string|int, mixed> $parameters = array() ]) : array<string|int, mixed>
Parameters
$query : mixed
$parameters : array<string|int, mixed> = array()
Tags
throws
ArgumentException
Return values
array<string|int, mixed>

allow()

public allow(mixed $action) : mixed
Parameters
$action : mixed

canCreate()

public canCreate(mixed $item[, mixed $userId = 0 ]) : mixed
Parameters
$item : mixed
$userId : mixed = 0

canDelete()

public canDelete(mixed $item[, mixed $userId = 0 ]) : mixed
Parameters
$item : mixed
$userId : mixed = 0

canFetchData()

public canFetchData(mixed $item[, mixed $userId = 0 ]) : mixed
Parameters
$item : mixed
$userId : mixed = 0

canRead()

public canRead(mixed $item[, mixed $userId = 0 ]) : mixed
Parameters
$item : mixed
$userId : mixed = 0

canUpdate()

public canUpdate(mixed $item[, mixed $userId = 0 ]) : mixed
Parameters
$item : mixed
$userId : mixed = 0

deny()

public deny(mixed $action) : mixed
Parameters
$action : mixed

disable()

Allows every and each action

public disable() : mixed

enable()

Restores controller`s normal behaviour

public enable() : mixed

getClass()

public static getClass() : mixed

isEnabled()

public isEnabled() : mixed

isImmutable()

public isImmutable() : mixed

setImmutable()

Normally you SHOULD NOT be able to modify default access controller behaviour, so immutable flag is at our rescue

public setImmutable() : mixed

        
On this page

Search results