AccessRestriction extends Restriction
AbstractYes
Table of Contents
Methods
- __construct() : mixed
- externalize() : array<string|int, mixed>
- getHtml() : string
- getName() : string
- hasPermission() : bool
- internalize() : void
- isPersistent() : bool
- isPersitent() : bool
- load() : mixed
- permit() : void
- preparePopupScript() : string
- reset() : mixed
- save() : mixed
- setName() : void
Methods
__construct()
public
__construct([mixed $name = '' ][, mixed $permitted = false ]) : mixed
Parameters
- $name : mixed = ''
- $permitted : mixed = false
externalize()
public
externalize() : array<string|int, mixed>
Return values
array<string|int, mixed>getHtml()
public
abstract getHtml() : 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.
preparePopupScript()
public
abstract preparePopupScript() : string
Return values
stringreset()
public
reset() : mixed
save()
public
save() : mixed
setName()
public
setName(string $name) : void
Parameters
- $name : string
-
Name