「ver4/関数リファレンス/widgetArea」の版間の差分
提供: baserCMS公式ガイド
行49: | 行49: | ||
##類似の関数 | ##類似の関数 | ||
− | + | [[Category:関数リファレンスver4]] | |
− | + | ||
− | + |
2016年9月18日 (日) 18:06時点における版
目次
説明
ウィジェットエリアを出力する
使い方
$this->BcBaser->widgetArea($no = null, $options = array());
パラメータ
(int) $no ウィジェットエリアNO(初期値 : null)※ 省略した場合は、コンテンツごとに管理システムにて設定されているウィジェットエリアを出力する
(array) $options オプション(初期値 : array())
-loadHelpers
: ヘルパーを読み込むかどうか(初期値 : false) -subDir
: テンプレートの配置場所についてプレフィックスに応じたサブフォルダを利用するかどうか(初期値 : true)
戻り値
用例
基本
コード
<?php $this->BcBaser->widgetArea($no = null, $options = array()) ?>