「ver4/関数リファレンス/getRelatedSiteLinks」の版間の差分
提供: baserCMS公式ガイド
Katokaisya (トーク | 投稿記録) (ページの作成:「[このコンテンツは内容調整中です] ## 説明 関連サイトのリンク一覧を取得 ## 使い方 <syntaxhighlight lang="php"> $this->BcBaser->getRelat...」) |
Katokaisya (トーク | 投稿記録) |
||
行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) ?>