Listing_Manage extends Menu
Listing management pages.
Table of Contents
- $attributes : array<string|int, mixed>
- HTML attributes.
- $context : array<string|int, mixed>
- Object context values.
- $items : array<string|int, mixed>
- Menu items.
- $meta : array<string|int, mixed>
- Class meta values.
- $wrap : bool
- Add wrapper?
- __construct() : mixed
- Class constructor.
- get_context() : mixed
- Gets object context values.
- get_items() : array<string|int, mixed>
- Gets menu items.
- get_meta() : mixed
- Gets class meta values.
- init() : mixed
- Class initializer.
- render() : string
- Renders menu HTML.
- boot() : mixed
- Bootstraps menu properties.
- render_items() : string
- Renders menu items.
- set_items() : mixed
- Sets menu items.
- set_meta() : mixed
- Sets class meta values.
- set_property() : mixed
- Sets a property value.
Properties
$attributes
HTML attributes.
protected
array<string|int, mixed>
$attributes
= []
$context
Object context values.
protected
array<string|int, mixed>
$context
= []
$items
Menu items.
protected
array<string|int, mixed>
$items
= []
$meta
Class meta values.
protected
static array<string|int, mixed>
$meta
= []
$wrap
Add wrapper?
protected
bool
$wrap
= true
Methods
__construct()
Class constructor.
public
__construct([array<string|int, mixed> $args = [] ]) : mixed
Parameters
- $args : array<string|int, mixed> = []
-
Menu arguments.
Return values
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_items()
Gets menu items.
public
final get_items() : array<string|int, mixed>
Return values
array<string|int, 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 —render()
Renders menu HTML.
public
render() : string
Return values
string —boot()
Bootstraps menu properties.
protected
boot() : mixed
Return values
mixed —render_items()
Renders menu items.
protected
render_items([mixed $current = null ]) : string
Parameters
- $current : mixed = null
-
Current item name.
Return values
string —set_items()
Sets menu items.
protected
final set_items(array<string|int, mixed> $items) : mixed
Parameters
- $items : array<string|int, mixed>
-
Menu items.
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.