PHP Class BcWidgetAreaHelper

Inheritance: extends AppHelper
Afficher le fichier Open project: baserproject/basercms

Méthodes publiques

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

Méthodes protégées

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

Method Details

_widgetSort() protected méthode

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

show() public méthode

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