個人用ツール

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

提供: baserCMS公式ガイド

移動: 案内, 検索
(ページの作成:「[このコンテンツは内容調整中です] ## 説明 記事の詳細を表示する ## 使い方 <syntaxhighlight lang="php"> $this->Blog->postDetail($post, [$opti...」)
 
行6: 行6:
 
## 使い方
 
## 使い方
 
<syntaxhighlight lang="php">
 
<syntaxhighlight lang="php">
$this->Blog->postDetail($post, [$options] )
+
$this->Blog->postDetail( [$post] , [$options] )
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
## パラメータ
 
## パラメータ
 
(array) $post
 
(array) $post
: 記事データ
+
: ブログ記事データ
  
 
(array) $options
 
(array) $options
 
: オプション
 
: オプション
 
初期値 : array()
 
初期値 : array()
 
+
: getPostDetailを参照
- `cut` : 文字をカットするかどうかを真偽値で指定。カットする場合、文字数を数値で入力(初期値 : false)
+
 
+
 
## 戻り値
 
## 戻り値
 
(void)
 
(void)

2016年11月4日 (金) 21:25時点における版

[このコンテンツは内容調整中です]

説明

記事の詳細を表示する

使い方

$this->Blog->postDetail( [$post] , [$options] )

パラメータ

(array) $post
ブログ記事データ
(array) $options
オプション 初期値 : array()
getPostDetailを参照

戻り値

(void)

用例

基本

コード

 

出力

 

応用

コード

 

出力

 

変更履歴

ソースファイル

関連資料

類似の関数