個人用ツール

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

提供: baserCMS公式ガイド

移動: 案内, 検索
行22: 行22:
  
 
####出力
 
####出力
ブログアカウントが "news" の場合
+
ブログアカウント名が "news" の場合
 
<syntaxhighlight lang="html4strict">
 
<syntaxhighlight lang="html4strict">
 
news
 
news

2018年6月7日 (木) 14:24時点における版

説明

ブログアカウント名を出力する

使い方

$this->Blog->blogName();

パラメーター

なし

戻り値

(void)

用例

基本

コード

<?php $this->Blog->blogName(); ?>

出力

ブログアカウント名が "news" の場合

news