PHP Класс RainLab\Blog\Components\RssFeed

Наследование: extends Cms\Classes\ComponentBase
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$blogPage string Reference to the page name for the main blog page.
$category Model If the post list should be filtered by a category, the model to use.
$postPage string Reference to the page name for linking to posts.
$posts Collection A collection of posts to display

Открытые методы

Метод Описание
componentDetails ( )
defineProperties ( )
getBlogPageOptions ( )
getPostPageOptions ( )
getSortOrderOptions ( )
onRun ( )

Защищенные методы

Метод Описание
listPosts ( )
loadCategory ( )
prepareVars ( )

Описание методов

componentDetails() публичный Метод

public componentDetails ( )

defineProperties() публичный Метод

public defineProperties ( )

getBlogPageOptions() публичный Метод

public getBlogPageOptions ( )

getPostPageOptions() публичный Метод

public getPostPageOptions ( )

getSortOrderOptions() публичный Метод

public getSortOrderOptions ( )

listPosts() защищенный Метод

protected listPosts ( )

loadCategory() защищенный Метод

protected loadCategory ( )

onRun() публичный Метод

public onRun ( )

prepareVars() защищенный Метод

protected prepareVars ( )

Описание свойств

$blogPage публичное свойство

Reference to the page name for the main blog page.
public string $blogPage
Результат string

$category публичное свойство

If the post list should be filtered by a category, the model to use.
public Model $category
Результат Model

$postPage публичное свойство

Reference to the page name for linking to posts.
public string $postPage
Результат string

$posts публичное свойство

A collection of posts to display
public Collection $posts
Результат Collection