\CategoriesComponent

Categories Component

該当ブロックのカテゴリー一覧をViewにセットし、CategoryHelperを追加します。

サンプルコード

public $components = array(
    'Categories.Categories'
)

CategoryHelperの利用

Summary

Methods
Properties
Constants
startup()
$components
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$components

$components : array

use component

Type

array

Methods

startup()

startup(\Controller  $controller) : void

Called after the Controller::beforeFilter() and before the controller action

Parameters

\Controller $controller

Controller with components to startup

Throws

\ForbiddenException