Listing_Categories_View_Page extends Page_Wide
Listing categories page in view context.
Table of Contents
- $attributes : array<string|int, mixed>
- Template attributes.
- $blocks : array<string|int, mixed>
- Template blocks.
- $context : array<string|int, mixed>
- Object context values.
- $meta : array<string|int, mixed>
- Class meta values.
- __construct() : mixed
- Class constructor.
- get_attributes() : array<string|int, mixed>
- Gets template attributes.
- get_blocks() : array<string|int, mixed>
- Gets template blocks.
- get_context() : mixed
- Gets object context values.
- get_meta() : mixed
- Gets class meta values.
- init() : mixed
- Class initializer.
- set_context() : mixed
- Sets object context value.
- boot() : mixed
- Bootstraps template properties.
- set_meta() : mixed
- Sets class meta values.
- set_property() : mixed
- Sets a property value.
Properties
$attributes
Template attributes.
protected
array<string|int, mixed>
$attributes
= []
$blocks
Template blocks.
protected
array<string|int, mixed>
$blocks
= []
$context
Object context values.
protected
array<string|int, mixed>
$context
= []
$meta
Class meta values.
protected
static array<string|int, mixed>
$meta
= []
Methods
__construct()
Class constructor.
public
__construct([array<string|int, mixed> $args = [] ]) : mixed
Parameters
- $args : array<string|int, mixed> = []
-
Template arguments.
Return values
mixed —get_attributes()
Gets template attributes.
public
final get_attributes() : array<string|int, mixed>
Return values
array<string|int, mixed> —get_blocks()
Gets template blocks.
public
final get_blocks() : array<string|int, mixed>
Return values
array<string|int, mixed> —get_context()
Gets object context values.
public
final get_context([string $name = null ][, mixed $default = null ]) : mixed
Parameters
- $name : string = null
-
Context name.
- $default : mixed = null
-
Default value.
Return values
mixed —get_meta()
Gets class meta values.
public
final static get_meta([string $name = '' ]) : mixed
Parameters
- $name : string = ''
-
Meta name.
Return values
mixed —init()
Class initializer.
public
static init([array<string|int, mixed> $meta = [] ]) : mixed
Parameters
- $meta : array<string|int, mixed> = []
-
Class meta values.
Return values
mixed —set_context()
Sets object context value.
public
final set_context(string $name[, mixed $value = null ]) : mixed
Parameters
- $name : string
-
Context name.
- $value : mixed = null
-
Context value.
Return values
mixed —boot()
Bootstraps template properties.
protected
boot() : mixed
Return values
mixed —set_meta()
Sets class meta values.
protected
final static set_meta(array<string|int, mixed> $meta) : mixed
Parameters
- $meta : array<string|int, mixed>
-
Meta values.
Return values
mixed —set_property()
Sets a property value.
protected
final set_property(string $name, mixed $value[, string $prefix = '' ]) : mixed
Parameters
- $name : string
-
Property name.
- $value : mixed
-
Property value.
- $prefix : string = ''
-
Method prefix.