Bitrix24AccessRestriction extends AccessRestriction
Table of Contents
Methods
- __construct() : mixed
- externalize() : array<string|int, mixed>
- getErrorCode() : string|null
- getErrorMessage() : string|null
- getHtml() : string
- getInfoHelperId() : string
- Get id for tariff slider
- getMobileInfoHelperId() : string
- Get id for tariff slider in mobile app
- getName() : string
- hasPermission() : bool
- internalize() : void
- isPersistent() : bool
- isPersitent() : bool
- load() : mixed
- permit() : void
- prepareDisplayOptions() : void
- prepareFeaturePromoterScript() : string
- prepareInfoHelperScript() : string
- preparePopupScript() : string
- reset() : mixed
- save() : mixed
- setErrorCode() : void
- setErrorMessage() : void
- setName() : void
Methods
__construct()
public
__construct([mixed $name = '' ][, mixed $permitted = false ][, array<string|int, mixed> $htmlInfo = null ][, array<string|int, mixed> $popupInfo = null ]) : mixed
Parameters
- $name : mixed = ''
- $permitted : mixed = false
- $htmlInfo : array<string|int, mixed> = null
- $popupInfo : array<string|int, mixed> = null
externalize()
public
externalize() : array<string|int, mixed>
Return values
array<string|int, mixed>getErrorCode()
public
getErrorCode() : string|null
Return values
string|nullgetErrorMessage()
public
getErrorMessage() : string|null
Return values
string|nullgetHtml()
public
getHtml() : string
Return values
stringgetInfoHelperId()
Get id for tariff slider
public
getInfoHelperId() : string
Return values
stringgetMobileInfoHelperId()
Get id for tariff slider in mobile app
public
getMobileInfoHelperId() : string
Return values
stringgetName()
public
getName() : string
Return values
stringhasPermission()
public
hasPermission() : bool
Return values
boolinternalize()
public
internalize(array<string|int, mixed> $params) : void
Parameters
- $params : array<string|int, mixed>
-
Params
isPersistent()
public
isPersistent() : bool
Return values
boolisPersitent()
public
isPersitent() : bool
No longer used by internal code and not recommended. Please use isPersistent.
Return values
boolload()
public
load() : mixed
permit()
public
permit(bool $permitted) : void
Parameters
- $permitted : bool
-
Permission Flag.
prepareDisplayOptions()
public
prepareDisplayOptions(int $entityTypeId, array<string|int, mixed> $itemIds, Options $options) : void
Parameters
- $entityTypeId : int
- $itemIds : array<string|int, mixed>
- $options : Options
prepareFeaturePromoterScript()
public
prepareFeaturePromoterScript() : string
Return values
stringprepareInfoHelperScript()
public
prepareInfoHelperScript() : string
Return values
stringpreparePopupScript()
public
preparePopupScript() : string
Return values
stringreset()
public
reset() : mixed
save()
public
save() : mixed
setErrorCode()
public
setErrorCode(string $errorCode) : void
Parameters
- $errorCode : string
setErrorMessage()
public
setErrorMessage(string $errorMessage) : void
Parameters
- $errorMessage : string
setName()
public
setName(string $name) : void
Parameters
- $name : string
-
Name