個人用ツール

「ver4/関数リファレンス/widgetArea」の版間の差分

提供: baserCMS公式ガイド

移動: 案内, 検索
(ページの作成:「## 説明 ウィジェットエリアを出力する ## 使い方 <syntaxhighlight lang="php"> $this->BcBaser->widgetArea($no = null, $options = array()); </syntaxhighl...」)
 
行51: 行51:
  
 
[[Category:関数リファレンス]]
 
[[Category:関数リファレンス]]
 +
[[Category:関数リファレンス_ver4]][[Category:関数リファレンスver4]]

2016年9月18日 (日) 18:03時点における版

説明

ウィジェットエリアを出力する

使い方

$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()) ?>

出力

 

応用

コード

 

出力

 

変更履歴

ソースファイル

関連資料

類似の関数