PHP Class BcWidgetAreaHelper

Inheritance: extends AppHelper
Mostrar archivo Open project: baserproject/basercms

Public Methods

Method Description
show ( $no, array $options = [] ) ウィジェットエリアを表示する

Protected Methods

Method Description
_widgetSort ( array $a, array $b ) : integer ウィジェットの並べ替えを行う usortのコールバックメソッド

Method Details

_widgetSort() protected method

ウィジェットの並べ替えを行う usortのコールバックメソッド
protected _widgetSort ( array $a, array $b ) : integer
$a array
$b array
return integer

show() public method

ウィジェットエリアを表示する
public show ( $no, array $options = [] )
$no ウィジェットエリアNO
$options array オプション `subDir` (boolean) エレメントのパスについてプレフィックスによるサブディレクトリを追加するかどうか ※ その他のパラメータについては、View::element() を参照