PHP Class RainLab\Blog\Components\Categories

Inheritance: extends Cms\Classes\ComponentBase
Mostrar archivo Open project: rainlab/blog-plugin

Public Properties

Property Type Description
$categories A collection of categories to display
$categoryPage Reference to the page name for linking to categories.
$currentCategorySlug Reference to the current category slug.

Public Methods

Method Description
componentDetails ( )
defineProperties ( )
getCategoryPageOptions ( )
onRun ( )

Protected Methods

Method Description
linkCategories ( $categories )
loadCategories ( )

Method Details

componentDetails() public method

public componentDetails ( )

defineProperties() public method

public defineProperties ( )

getCategoryPageOptions() public method

linkCategories() protected method

protected linkCategories ( $categories )

loadCategories() protected method

protected loadCategories ( )

onRun() public method

public onRun ( )

Property Details

$categories public_oe property

A collection of categories to display
public $categories

$categoryPage public_oe property

Reference to the page name for linking to categories.
public $categoryPage

$currentCategorySlug public_oe property

Reference to the current category slug.
public $currentCategorySlug