Свойство | Type | Description | |
---|---|---|---|
$allowedIPs | the list of IPs that are allowed to access this module. Each array element represents a single IP filter which can be either an IP address or an address with wildcard (e.g. 192.168.0.*) to represent a network segment. The default value is ['127.0.0.1', '::1'], which means the module can only be accessed by localhost. | ||
$editUrl | string | ||
$editViewFiles | |||
$editWidgets | |||
$enableFancyboxWindow | |||
$enabled | |||
$infoblockEditBorderColor | |||
$infoblocks | |||
$inited | |||
$isOpen | |||
$viewFiles |
Méthode | Description | |
---|---|---|
attributeHints ( ) | ||
attributeLabels ( ) | ||
bootstrap ( $app ) | ||
descriptorConfig ( ) : array | Можно задать название и описание компонента | |
init ( ) | ||
initEnabled ( ) | Установка проверок один раз. | |
renderConfigForm ( |
||
renderToolbar ( |
Renders mini-toolbar at the end of page body. | |
rules ( ) |
Méthode | Description | |
---|---|---|
checkAccess ( ) : boolean | Checks if current user is allowed to access the module |
protected checkAccess ( ) : boolean | ||
Résultat | boolean | if access is granted |
public static descriptorConfig ( ) : array | ||
Résultat | array |
public initEnabled ( ) |
public renderConfigForm ( |
||
$form |
public renderToolbar ( |
||
$event |
public $allowedIPs |