PHP Класс Bootstrap\View\Helper\BootstrapPanelHelper

Наследование: extends Cake\View\Helper, use trait BootstrapTrait
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$_defaultConfig
$current
$helpers

Защищенные свойства (Protected)

Свойство Тип Описание
$_autoCloseOnCreate
$_bodyId
$_collapsible
$_groupCount * Protected attribute used to generate group ID.
$_groupId
$_groupInGroup * Attribute set to true when in group.
$_groupPanelCount
$_groupPanelOpen
$_headId
$_lastPanelClosed
$_panelCount * Protected attributes used to generate ID for collapsible panels.

Открытые методы

Метод Описание
body ( array | string $info = null, array $options = [] ) Create / Start the body. If $info is not null, it is used as the body content, otherwize start the body div.
create ( array | string $title = null, array $options = [] ) Create a Twitter Bootstrap like panel.
end ( $title = null, array $options = [] ) End a panel. If $title is not null, the PanelHelper::footer functions is called with $title and $options arguments.
endGroup ( )
footer ( string $text = null, array $options = [] ) Create / Start the footer. If $buttons is specified as an associative arrays or as null, start the footer, otherwize create the footer with the specified text.
header ( array | string $info = null, array $options = [] ) Create / Start the header. If $info is specified as a string, create and return the whole header, otherwize only open the header.
startGroup ( $options = [] )

Защищенные методы

Метод Описание
_cleanCurrent ( )
_createBody ( $text = null, $options = [] )
_createFooter ( $text = null, $options = [] )
_createHeader ( $title, $options = [], $titleOptions = [] )
_isAssociativeArray ( $array )
_isOpen ( ) : true Return true if the current panel should be open (only for collapsible).

Описание методов

_cleanCurrent() защищенный Метод

protected _cleanCurrent ( )

_createBody() защищенный Метод

protected _createBody ( $text = null, $options = [] )

_createFooter() защищенный Метод

protected _createFooter ( $text = null, $options = [] )

_createHeader() защищенный Метод

protected _createHeader ( $title, $options = [], $titleOptions = [] )

_isAssociativeArray() защищенный Метод

protected _isAssociativeArray ( $array )

_isOpen() защищенный Метод

Return true if the current panel should be open (only for collapsible).
protected _isOpen ( ) : true
Результат true if the current panel should be open, false otherwize.

body() публичный Метод

Create / Start the body. If $info is not null, it is used as the body content, otherwize start the body div.
public body ( array | string $info = null, array $options = [] )
$info array | string If string, use as the body content, otherwize works as $options.
$options array Options for the footer div.

create() публичный Метод

Create a Twitter Bootstrap like panel.
public create ( array | string $title = null, array $options = [] )
$title array | string If array, works as $options, otherwize used as the panel title.
$options array Options for the main div of the panel. Extra options (useless if $title not specified) : - no-body: Do not open the body after the create (default false)

end() публичный Метод

End a panel. If $title is not null, the PanelHelper::footer functions is called with $title and $options arguments.
public end ( $title = null, array $options = [] )
$options array

endGroup() публичный Метод

public endGroup ( )

header() публичный Метод

Create / Start the header. If $info is specified as a string, create and return the whole header, otherwize only open the header.
public header ( array | string $info = null, array $options = [] )
$info array | string If string, use as the panel title, otherwize works as $options.
$options array Options for the header div. Special option (if $info is string): - close: Add the 'close' button in the header (default true).

startGroup() публичный Метод

public startGroup ( $options = [] )

Описание свойств

$_autoCloseOnCreate защищенное свойство

protected $_autoCloseOnCreate

$_bodyId защищенное свойство

protected $_bodyId

$_collapsible защищенное свойство

protected $_collapsible

$_defaultConfig публичное свойство

public $_defaultConfig

$_groupCount защищенное свойство

* Protected attribute used to generate group ID.
protected $_groupCount

$_groupId защищенное свойство

protected $_groupId

$_groupInGroup защищенное свойство

* Attribute set to true when in group.
protected $_groupInGroup

$_groupPanelCount защищенное свойство

protected $_groupPanelCount

$_groupPanelOpen защищенное свойство

protected $_groupPanelOpen

$_headId защищенное свойство

protected $_headId

$_lastPanelClosed защищенное свойство

protected $_lastPanelClosed

$_panelCount защищенное свойство

* Protected attributes used to generate ID for collapsible panels.
protected $_panelCount

$current публичное свойство

public $current

$helpers публичное свойство

public $helpers