UIComponent
class UIComponent
Class UIComponent Parent class for all User Interface Helpers (XUI)
Constants
SYSTEM_TEMPLATE_UI_FOLDER |
|
Properties
Link | $xf_link | ||
string | $link_id | ||
array | $GPvars | ||
Controller | $mod | ||
protected array | $local_template_marker | ||
protected bool | $_overwrite_param_array | ||
protected bool|array|ModelCollection | $marker_content | ||
string | $mod_object_manager | ||
protected bool | $_orig_marker_content | ||
protected array | $_allowed_params_filter | ||
string | $unique_dom_id | ||
protected string | $uid | ||
string read-only | $_content | When used in template this property will contain the XML/HTML within the XUI Nodes |
Methods
UIComponent constructor.
No description
Get Variable / Option
Generates a unique dom id, dependent on the provided UID, as well as the current context.
Return new template view If using within module xui the tpl file should be named [class_name].tpl e.g. xui_core_table.tpl within the module's template folder
put your comment there.
No description
No description
No description
Declared in Classes
No description
No description
restores original content of marker_content
Set Variable / Option
Set Variable / Option for an array
sets marker_content to passed data -> restore original content with reset_marker_content()
Set link to owning module
Used to inject params. Only allowed params will be used (see $allowed_params_filter)
Details
at line 64
__construct(string $link_id = null)
UIComponent constructor.
at line 324
string
__toString()
No description
at line 185
mixed
get($var)
Get Variable / Option
at line 202
string
get_unique_dom_id()
Generates a unique dom id, dependent on the provided UID, as well as the current context.
at line 289
Template|null
get_view(string|bool $section = false)
Return new template view If using within module xui the tpl file should be named [class_name].tpl e.g. xui_core_table.tpl within the module's template folder
at line 72
init()
put your comment there.
..
at line 221
string
parse_template(string $template_content, array|bool $marker_array = false)
No description
at line 234
string|null
parse_template_cb_wrapper(mixed $matches)
No description
at line 260
mixed|string
parse_xtag($xml_source)
No description
at line 335
process()
Declared in Classes
at line 336
render()
No description
at line 268
mixed
render_xtag_element()
No description
at line 173
void
reset_marker_content()
restores original content of marker_content
at line 106
void
set(mixed $var, mixed $value = false)
Set Variable / Option
at line 122
void
set_array(mixed $member_array, mixed $vars)
Set Variable / Option for an array
at line 165
void
set_marker_content(mixed $marker_content = false)
sets marker_content to passed data -> restore original content with reset_marker_content()
at line 90
set_mod(mixed $mod)
Set link to owning module
at line 135
void
set_render_params(mixed $input_params = array())
Used to inject params. Only allowed params will be used (see $allowed_params_filter)