個人用ツール

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

提供: baserCMS公式ガイド

移動: 案内, 検索
(ページの作成:「[このコンテンツは内容調整中です] ## 説明 関連サイトのリンク一覧を取得 ## 使い方 <syntaxhighlight lang="php"> $this->BcBaser->getRelat...」)
 
行30: 行30:
 
####コード
 
####コード
 
<syntaxhighlight lang="php">
 
<syntaxhighlight lang="php">
<?php $this->BcBaser->getRelatedSiteLinks($id, $excludeIds) ?>
+
<?php echo $this->BcBaser->getRelatedSiteLinks($id, $excludeIds) ?>
 
</syntaxhighlight>
 
</syntaxhighlight>
  

2016年11月2日 (水) 13:46時点における版

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

説明

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

使い方

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

パラメータ

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

戻り値

なし

用例

基本

コード

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

応用

コード

 

出力

変更履歴

ソースファイル

関連資料