「ver4/関数リファレンス/getRelatedSiteLinks」の版間の差分
提供: baserCMS公式ガイド
Katokaisya (トーク | 投稿記録) |
Katokaisya (トーク | 投稿記録) |
||
行7: | 行7: | ||
## 使い方 | ## 使い方 | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
− | $this->BcBaser->getRelatedSiteLinks( | + | $this->BcBaser->getRelatedSiteLinks( $id , [$excludeIds] ) |
</syntaxhighlight> | </syntaxhighlight> | ||
## パラメータ | ## パラメータ | ||
− | ( | + | (int) $id |
: コンテンツID | : コンテンツID | ||
: -初期値 : null | : -初期値 : null | ||
− | + | $excludeIds | |
: | : | ||
## 戻り値 | ## 戻り値 | ||
− | |||
2016年11月4日 (金) 18:03時点における版
[このコンテンツは内容調整中です]
目次
説明
関連サイトのリンク一覧を取得
使い方
$this->BcBaser->getRelatedSiteLinks( $id , [$excludeIds] )
パラメータ
- (int) $id
- コンテンツID
- -初期値 : null
- $excludeIds
戻り値
用例
基本
コード
<?php echo $this->BcBaser->getRelatedSiteLinks($id, $excludeIds) ?>