PHP Class skeeks\cms\components\CmsToolbar

Inheritance: extends skeeks\cms\base\Component, implements yii\base\BootstrapInterface
显示文件 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_oe 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_oe property

public string $editUrl
return string

$editViewFiles public_oe property

public $editViewFiles

$editWidgets public_oe property

public $editWidgets

$enableFancyboxWindow public_oe property

public $enableFancyboxWindow

$enabled public_oe property

public $enabled

$infoblockEditBorderColor public_oe property

public $infoblockEditBorderColor

$infoblocks public_oe property

public $infoblocks

$inited public_oe property

public $inited

$isOpen public_oe property

public $isOpen

$viewFiles public_oe property

public $viewFiles