Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
BlogHelper
category
BlogHelper::category PHP Method
BlogHelper Class Documentation
Datei anzeigen
Open project: baserproject/basercms
category()
public
method
記事が属するカテゴリ名を出力する
public
category
(
array
$post
,
array
$options
= [] ) :
void
$post
array
記事データ
$options
array
オプション(初期値 : array()) - `link` : リンクをつけるかどうか(初期値 : true) ※ その他のオプションは、`link`オプションが`true`の場合に 生成されるa要素の属性設定となる。(HtmlHelper::link() を参照)
return
void
public function category($post, $options = array()) { echo $this->getCategory($post, $options); }
BlogHelper
__construct
_getCategoryList
allowPublish
author
blogName
category
currentBlogId
description
descriptionExists
eyeCatch
getBlogArchiveType
getBlogName
getBlogTemplates
getCategory
getCategoryList
getCategoryUrl
getCurrentBlogId
getDescription
getEyeCatch
getHtmlById
getParentCategory
getPostContent
getPostDate
getPostDetail
getPostImg
getPostLink
getPostLinkUrl
getPostTitle
getRelatedPosts
getTag
getTitle
isArchive
isCategory
isDate
isHome
isMonth
isSingle
isTag
isYear
mailFormLink
nextLink
postContent
postDate
postDetail
postImg
postLink
postTitle
prevLink
removeCtrlChars
setContent
tag
title