Bitrix API

DiskSecurityContext extends SecurityContext

Table of Contents

Constants

GUEST_USER  = 'guest_user'

Methods

__construct()  : mixed
Creates new instance of SecurityContext specific by user.
canAdd()  : bool
canChangeRights()  : bool
canChangeSettings()  : bool
canCreateWorkflow()  : bool
canDelete()  : bool
canMarkDeleted()  : bool
canMove()  : bool
canRead()  : bool
canRename()  : bool
canRestore()  : bool
canShare()  : bool
canStartBizProc()  : bool
canUpdate()  : bool
getErrorByCode()  : array<string|int, Error>
Getting once error with the necessary code.
getErrors()  : array<string|int, Error>
Getting array of errors.
getErrorsByCode()  : array<string|int, Error>
Getting array of errors with the necessary code.
getSqlExpressionForList()  : string
getUserId()  : mixed
preloadOperationsForChildren()  : void
Load operations if we show one level with objects.
preloadOperationsForSpecifiedObjects()  : mixed
setOptions()  : self

Constants

Methods

__construct()

Creates new instance of SecurityContext specific by user.

public __construct(mixed $user) : mixed
Parameters
$user : mixed

User.

canAdd()

public final canAdd(mixed $targetId) : bool
Parameters
$targetId : mixed
Return values
bool

canChangeRights()

public final canChangeRights(mixed $objectId) : bool
Parameters
$objectId : mixed
Return values
bool

canChangeSettings()

public final canChangeSettings(mixed $objectId) : bool
Parameters
$objectId : mixed
Return values
bool

canCreateWorkflow()

public final canCreateWorkflow(mixed $objectId) : bool
Parameters
$objectId : mixed
Return values
bool

canDelete()

public final canDelete(mixed $objectId) : bool
Parameters
$objectId : mixed
Return values
bool

canMarkDeleted()

public final canMarkDeleted(mixed $objectId) : bool
Parameters
$objectId : mixed
Return values
bool

canMove()

public final canMove(mixed $objectId, mixed $targetId) : bool
Parameters
$objectId : mixed
$targetId : mixed
Return values
bool

canRead()

public final canRead(mixed $objectId) : bool
Parameters
$objectId : mixed
Return values
bool

canRename()

public final canRename(mixed $objectId) : bool
Parameters
$objectId : mixed
Return values
bool

canRestore()

public final canRestore(mixed $objectId) : bool
Parameters
$objectId : mixed
Return values
bool

canShare()

public final canShare(mixed $objectId) : bool
Parameters
$objectId : mixed
Return values
bool

canStartBizProc()

public final canStartBizProc(mixed $objectId) : bool
Parameters
$objectId : mixed
Return values
bool

canUpdate()

public final canUpdate(mixed $objectId) : bool
Parameters
$objectId : mixed
Return values
bool

getErrorByCode()

Getting once error with the necessary code.

public getErrorByCode(mixed $code) : array<string|int, Error>
Parameters
$code : mixed

Code of error.

Tags
inheritdoc
Return values
array<string|int, Error>

getErrors()

Getting array of errors.

public getErrors() : array<string|int, Error>
Return values
array<string|int, Error>

getErrorsByCode()

Getting array of errors with the necessary code.

public getErrorsByCode(mixed $code) : array<string|int, Error>
Parameters
$code : mixed

Code of error.

Tags
inheritdoc
Return values
array<string|int, Error>

getSqlExpressionForList()

public final getSqlExpressionForList(mixed $columnObjectId, mixed $columnCreatedBy) : string
Parameters
$columnObjectId : mixed
$columnCreatedBy : mixed
Return values
string

preloadOperationsForChildren()

Load operations if we show one level with objects.

public preloadOperationsForChildren(mixed $parentObjectId) : void
Parameters
$parentObjectId : mixed

preloadOperationsForSpecifiedObjects()

public preloadOperationsForSpecifiedObjects(mixed $parentObjectId, array<string|int, mixed> $objectIds) : mixed
Parameters
$parentObjectId : mixed
$objectIds : array<string|int, mixed>

setOptions()

public setOptions(array<string|int, mixed> $options) : self
Parameters
$options : array<string|int, mixed>
Return values
self

        
On this page

Search results