Manages a set of info to be printed as a json generally at the endo of the page
author | etessore |
---|---|
version | 1.0.1 |
package | classes |
__construct()
add_info(string $key, string $value) : \RuntimeInfos
string
the name of the info
string
the value of the info
\RuntimeInfos
$this for chainabilityajax_callback()
get_markup() : string
string
html markuphook() : \RuntimeInfos
\RuntimeInfos
$this for chainabilityload_assets()
set_standard_infos()
set_type(int $type)
the_markup()
render()
Overload this if you want a different data structure, i.e. XML
generate_unique_id() : string
string
the IDget_the_ID()
$infos : array
$type : int
$id : int
TYPE_AJAX : int
TYPE_FOOTER : int
ajax_action : string