Class BlockController
Returns a decorated block.
The decorate_flags
param is used to specify how the block is to
be decorated. The following flags are defined:
Icybee\BlockController::DECORATE_WITH_BLOCK
: Decorate the component with aIcybee\BlockDecorator
instance.Icybee\BlockController::DECORATE_WITH_ADMIN
: Decorate the component with aIcybee\AdminDecorator
instance.Icybee\BlockController::DECORATE_WITH_DOCUMENT
Decorate the component with aIcybee\DocumentDecorator
instance.
- ICanBoogie\Routing\Controller
- Icybee\BlockController
Direct known subclasses
Icybee\DeleteController
,
Icybee\EditController
,
Icybee\Modules\Dashboard\BlockController
,
Icybee\Modules\Images\GalleryController
,
Icybee\Modules\Modules\ManageController
,
Icybee\Modules\Users\ProfileController
Methods summary
public
|
#
__construct(
Initializes the |
public
|
#
__invoke(
If the |
protected
|
|
protected
|
|
protected
mixed
|
|
protected
mixed
|
|
protected
|
#
decorate_with_block( mixed $component )
Decorate a component with an instance of |
protected
|
#
decorate_with_admin( mixed $component )
Decorate a component with an instance of |
protected
|
#
decorate_with_document( mixed $component )
Decorates a component with an instance of |
Magic methods summary
Constants summary
integer |
DECORATE_WITH_BLOCK
|
1 |
|
integer |
DECORATE_WITH_ADMIN
|
2 |
|
integer |
DECORATE_WITH_DOCUMENT
|
4 |
Properties summary
protected
mixed
|
$decorate_flags | |
protected
mixed
|
$request | |
protected
mixed
|
$block_name |