PHP Class skeeks\cms\components\CmsToolbar

Inheritance: extends skeeks\cms\base\Component, implements yii\base\BootstrapInterface
Show file Open project: skeeks-cms/cms

Public Properties

Property 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

Public Methods

Method Description
attributeHints ( )
attributeLabels ( )
bootstrap ( $app )
descriptorConfig ( ) : array Можно задать название и описание компонента
init ( )
initEnabled ( ) Установка проверок один раз.
renderConfigForm ( ActiveForm $form )
renderToolbar ( Event $event ) Renders mini-toolbar at the end of page body.
rules ( )

Protected Methods

Method Description
checkAccess ( ) : boolean Checks if current user is allowed to access the module

Method Details

attributeHints() public method

public attributeHints ( )

attributeLabels() public method

public attributeLabels ( )

bootstrap() public method

public bootstrap ( $app )

checkAccess() protected method

Checks if current user is allowed to access the module
protected checkAccess ( ) : boolean
return boolean if access is granted

descriptorConfig() public static method

Можно задать название и описание компонента
public static descriptorConfig ( ) : array
return array

init() public method

public init ( )

initEnabled() public method

Эти проверки могут быть запущены при отрисовке первого виджета.
public initEnabled ( )

renderConfigForm() public method

public renderConfigForm ( ActiveForm $form )
$form yii\widgets\ActiveForm

renderToolbar() public method

Renders mini-toolbar at the end of page body.
public renderToolbar ( Event $event )
$event yii\base\Event

rules() public method

public rules ( )

Property Details

$allowedIPs public property

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.
public $allowedIPs

$editUrl public property

public string $editUrl
return string

$editViewFiles public property

public $editViewFiles

$editWidgets public property

public $editWidgets

$enableFancyboxWindow public property

public $enableFancyboxWindow

$enabled public property

public $enabled

$infoblockEditBorderColor public property

public $infoblockEditBorderColor

$infoblocks public property

public $infoblocks

$inited public property

public $inited

$isOpen public property

public $isOpen

$viewFiles public property

public $viewFiles