\CategoryEditComponent

Categories Component

該当ブロックのカテゴリーをViewにセットします。

サンプルコード

コントローラー
public $components = array(
    'Categories.CategoryEdit'
)
ビュー
<?php echo $this->element('Categories.edit_form'); ?>

Summary

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

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

beforeRender()

beforeRender(\Controller  $controller) : void

Called before the Controller::beforeRender(), and before the view class is loaded, and before Controller::render()

Parameters

\Controller $controller

Controller with components to beforeRender