PHP Class RainLab\Blog\Components\RssFeed

Inheritance: extends Cms\Classes\ComponentBase
Show file Open project: rainlab/blog-plugin

Public Properties

Property Type Description
$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

Public Methods

Method Description
componentDetails ( )
defineProperties ( )
getBlogPageOptions ( )
getPostPageOptions ( )
getSortOrderOptions ( )
onRun ( )

Protected Methods

Method Description
listPosts ( )
loadCategory ( )
prepareVars ( )

Method Details

componentDetails() public method

public componentDetails ( )

defineProperties() public method

public defineProperties ( )

getBlogPageOptions() public method

public getBlogPageOptions ( )

getPostPageOptions() public method

public getPostPageOptions ( )

getSortOrderOptions() public method

public getSortOrderOptions ( )

listPosts() protected method

protected listPosts ( )

loadCategory() protected method

protected loadCategory ( )

onRun() public method

public onRun ( )

prepareVars() protected method

protected prepareVars ( )

Property Details

$blogPage public property

Reference to the page name for the main blog page.
public string $blogPage
return string

$category public property

If the post list should be filtered by a category, the model to use.
public Model $category
return Model

$postPage public property

Reference to the page name for linking to posts.
public string $postPage
return string

$posts public property

A collection of posts to display
public Collection $posts
return Collection