「ver4/関数リファレンス/setTitle」の版間の差分
提供: baserCMS公式ガイド
Katokaisya (トーク | 投稿記録) (ページの作成:「[このコンテンツは内容調整中です] ## 説明 タイトルを設定する ## 使い方 <syntaxhighlight lang="php"> $this->BcBaser->setTitle( [$title] , [$c...」) |
|||
(他の1人の利用者による、間の2版が非表示) | |||
行6: | 行6: | ||
## 使い方 | ## 使い方 | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
− | $this->BcBaser->setTitle( | + | $this->BcBaser->setTitle( $title , [$categoryTitleOn] ) |
</syntaxhighlight> | </syntaxhighlight> | ||
## パラメータ | ## パラメータ | ||
− | ( | + | (string) $title |
: タイトル | : タイトル | ||
− | ( | + | (mixed) $categoryTitleOn |
: カテゴリのタイトルを含むかどうか | : カテゴリのタイトルを含むかどうか | ||
− | + | : 初期値:null | |
## 戻り値 | ## 戻り値 | ||
行47: | 行47: | ||
## ソースファイル | ## ソースファイル | ||
+ | - https://github.com/baserproject/basercms/blob/master/lib/Baser/View/Helper/BcBaserHelper.php#L132 | ||
+ | |||
## 関連資料 | ## 関連資料 |
2018年6月27日 (水) 02:03時点における最新版
[このコンテンツは内容調整中です]
目次
説明
タイトルを設定する
使い方
$this->BcBaser->setTitle( $title , [$categoryTitleOn] )
パラメータ
- (string) $title
- タイトル
- (mixed) $categoryTitleOn
- カテゴリのタイトルを含むかどうか
- 初期値:null
戻り値
なし