Methods
Initializes the object to the default values
__construct()
Adds a link
add_link(string $href, string $label, string | array $params) : \EscapeRoute
Parameters
$href
string
the url to be linked
$label
string
the inner html for the tag
$params
string
array
additional parameters for the
Returns
Retrieves the markup
get_markup()
Set the separator for the list of anchors
set_separator(string $separator)
Parameters
$separator
string
html between every
Set the html template
set_template(string $tpl) : \EscapeRoute
Renders the list of anchors
render_list() : \the
Returns
\the
rendered the list of anchors
Properties
the list of link to be printed in case of 404
$links : array
the list separator
$list_separator : string
the substitution template
$tpl : string