個人用ツール

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

提供: baserCMS公式ガイド

移動: 案内, 検索
行7: 行7:
 
## 使い方
 
## 使い方
 
<syntaxhighlight lang="php">
 
<syntaxhighlight lang="php">
$this->BcBaser->getRelatedSiteLinks([$id] , [$excludeIds] )
+
$this->BcBaser->getRelatedSiteLinks( $id , [$excludeIds] )
 
</syntaxhighlight>
 
</syntaxhighlight>
  
  
 
## パラメータ
 
## パラメータ
(array) $id
+
(int) $id
 
: コンテンツID
 
: コンテンツID
 
: -初期値 : null
 
: -初期値 : null
  
  
(string) $excludeIds
+
$excludeIds
 
:  
 
:  
  
 
## 戻り値
 
## 戻り値
なし
 
  
  

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

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

説明

関連サイトのリンク一覧を取得

使い方

$this->BcBaser->getRelatedSiteLinks( $id  , [$excludeIds] )

パラメータ

(int) $id
コンテンツID
-初期値 : null
$excludeIds

戻り値

用例

基本

コード

<?php echo $this->BcBaser->getRelatedSiteLinks($id, $excludeIds) ?>

応用

コード

 

出力

変更履歴

ソースファイル

関連資料