PHP 클래스 Bootstrap\View\Helper\BootstrapPanelHelper

상속: extends Cake\View\Helper, use trait BootstrapTrait
파일 보기 프로젝트 열기: holt59/cakephp3-bootstrap3-helpers

공개 프로퍼티들

프로퍼티 타입 설명
$_defaultConfig
$current
$helpers

보호된 프로퍼티들

프로퍼티 타입 설명
$_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