Class View
A view on provided data.
- ICanBoogie\Object implements ICanBoogie\ToArrayRecursive uses ICanBoogie\ToArrayRecursiveTrait, ICanBoogie\PrototypeTrait
- Icybee\Modules\Views\View
Direct known subclasses
Icybee\Modules\Articles\ArchivesView
,
Icybee\Modules\Pages\ListView
Methods summary
protected
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
#
__construct( mixed $id, array $options, mixed $engine, mixed $document, mixed $page, mixed $template = null )
|
public
mixed
|
|
protected
|
|
protected
|
#
add_assets(
Adds view's assets to the document. |
protected
mixed
|
#
fire_render_before( array $params = array() )
Fires the |
protected
mixed
|
#
fire_render( array $params = array() )
Fires the |
protected
string
|
|
protected
mixed
|
#
fire_render_empty_inner_html( array $payload = array() )
Fires |
protected
|
|
protected
|
|
protected
string
|
|
protected
|
|
protected
|
|
protected
string
|
|
protected
|
|
protected
string
|
|
protected
boolean
|
Methods inherited from ICanBoogie\Object
from()
,
resolve_facade_properties()
,
resolve_private_properties()
,
to_array()
,
to_json()
Methods inherited from ICanBoogie\ToArrayRecursive
Methods used from ICanBoogie\ToArrayRecursiveTrait
Methods used from ICanBoogie\PrototypeTrait
__call()
,
__get()
,
__set()
,
__sleep()
,
__wakeup()
,
get_prototype()
,
has_method()
,
has_property()
,
last_chance_get()
,
last_chance_set()
Magic methods summary
Constants summary
string |
ACCESS_CALLBACK
|
'access_callback' |
|
string |
ASSETS
|
'assets' |
|
string |
CLASSNAME
|
'class' |
|
string |
PROVIDER
|
'provider' |
|
string |
RENDERS
|
'renders' |
|
integer |
RENDERS_ONE
|
1 |
|
integer |
RENDERS_MANY
|
2 |
|
integer |
RENDERS_OTHER
|
3 |
|
string |
TITLE
|
'title' |
Properties summary
protected
mixed
|
$id | |
protected
integer
|
$renders |
#
The amount of data the view is rendering. |
protected
mixed
|
$options | |
protected
mixed
|
$engine | |
protected
mixed
|
$document | |
protected
mixed
|
$page | |
protected
mixed
|
$template | |
protected
mixed
|
$module | |
public
mixed
|
$module_id | |
public
mixed
|
$type | |
protected
mixed
|
$element |
Magic properties
public read-only
string
|
$id |
|
#
The identifier of the view. |
public read-only
mixed
|
$data |
|
#
The data provided by the view's provider. |