Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
RainLab
Blog
Models
Category
getPostCountAttribute
RainLab\Blog\Models\Category::getPostCountAttribute PHP Метод
Документация по классу Category
Показать файл
Открыть проект
getPostCountAttribute()
публичный
Метод
public
getPostCountAttribute
( )
public function getPostCountAttribute() { return $this->posts()->count(); }
Category
afterDelete
beforeValidate
getCategoryPageUrl
getMenuTypeInfo
getPostCountAttribute
listSubCategoryOptions
resolveMenuItem
setUrl