Method | Description | |
---|---|---|
get_html_attributes_html ( string[] | string $attributes = [] ) : string |
Return a string of one of more ' |
|
get_html_li_element_html ( string $element_text, array $args = [] ) : string |
Returns one or more HTML |
|
get_html_li_elements_html ( string[] $li_elements, array $args = [] ) : string |
Returns one or more HTML |
|
get_html_ordered_list_html ( string[] $li_elements, array $args = [] ) : string |
Returns an HTML Ordered List of |
|
get_html_unordered_list_html ( string[] $li_elements, array $args = [] ) : string |
Returns an HTML Unordered List of |
|
get_img ( string $src, array $args = [] ) : string | Create a take with URL and optional attributes. | |
get_link ( string $href, string $link_text, array $args = [] ) : string | Create a hyperlink with URL, Link Text and optional attributes. | |
on_load ( ) | ||
sanitize_html_attributes ( string[] | string $attributes ) : string[] | Sanitize one or more HTML attributes | |
sanitize_html_name ( string $name ) : string | Sanitize the name of an HTML attribute or element | |
the_html_attributes_html ( string[] | string $attributes = [] ) : string |
Output a string of one of more ' |
|
the_html_li_elements_html ( string[] $li_elements, array $args = [] ) : string |
Outputs one or more HTML |
|
the_html_ordered_list_html ( string[] $li_elements, array $args = [] ) : string |
Returns an HTML Ordered List of |
|
the_html_unordered_list_html ( string[] $li_elements, array $args = [] ) : string |
Returns an HTML Unordered List of |
|
the_img ( string $src, array $args = [] ) : string | Create a hyperlink with URL, Link Text and optional title text. | |
the_link ( string $href, string $link_text, array $args = [] ) : string | Output a hyperlink with URL, Link Text and optional title text. |
Method | Description | |
---|---|---|
_get_html_list_html ( string $list_element, string[] $li_elements, array $args = [] ) : string |
Returns an HTML List of |
static public get_html_attributes_html ( string[] | string $attributes = [] ) : string | ||
$attributes | string[] | string | An associate array or URL parameter formatted string of HTML attributes. |
return | string |
static public get_html_li_element_html ( string $element_text, array $args = [] ) : string | ||
$element_text | string | |
$args | array | { @type string $before @type string $before_text @type string[]|string $attributes @type string $class @type string $after_text @type string $after @type callable $filter @type mixed $index } |
return | string |
static public get_html_li_elements_html ( string[] $li_elements, array $args = [] ) : string | ||
$li_elements | string[] | |
$args | array | { @type string $before @type string $before_li @type string $before_text @type string[]|string $attributes @type string $class @type string $after_text @type string $after_li @type string $after @type callable $filter } |
return | string |
static public get_html_ordered_list_html ( string[] $li_elements, array $args = [] ) : string | ||
$li_elements | string[] | |
$args | array | { @type string $before @type string $class @type string[]|string $attributes @type string $before_elements @type string $before_li @type string $li_class @type string[]|string $li_attributes @type string $before_text @type string $after_text @type string $after_li @type string $after_elements @type string $after @type callable $filter } |
return | string |
static public get_html_unordered_list_html ( string[] $li_elements, array $args = [] ) : string | ||
$li_elements | string[] | |
$args | array | { @type string $before @type string $class @type string[]|string $attributes @type string $before_elements @type string $before_li @type string $li_class @type string[]|string $li_attributes @type string $before_text @type string $after_text @type string $after_li @type string $after_elements @type string $after @type callable $filter } |
return | string |
static public get_link ( string $href, string $link_text, array $args = [] ) : string | ||
$href | string | |
$link_text | string | |
$args | array | { @type string $before @type string $fragment @type string $class @type string $target @type string $rel @type string $onclick @type string $title_text @type string $link_target @type string[]|string $attributes @type string $before_text @type string $default_text @type string $after_text @type string $after @type bool $is_html } |
return | string |
static public sanitize_html_attributes ( string[] | string $attributes ) : string[] | ||
$attributes | string[] | string | An associate array or URL parameter formatted string of HTML attributes. |
return | string[] |
static public sanitize_html_name ( string $name ) : string | ||
$name | string | |
return | string |
static public the_html_attributes_html ( string[] | string $attributes = [] ) : string | ||
$attributes | string[] | string | An associate array or URL parameter formatted string of HTML attributes. |
return | string |
static public the_html_li_elements_html ( string[] $li_elements, array $args = [] ) : string | ||
$li_elements | string[] | |
$args | array | { @type string $before @type string $before_li @type string[]|string $attributes @type string $class @type string $after_li @type string $after @type callable $filter } |
return | string |
static public the_html_ordered_list_html ( string[] $li_elements, array $args = [] ) : string | ||
$li_elements | string[] | |
$args | array | { @type string $before @type string $class @type string[]|string $attributes @type string $before_elements @type string $before_li @type string $li_class @type string[]|string $li_attributes @type string $before_text @type string $after_text @type string $after_li @type string $after_elements @type string $after @type callable $filter } |
return | string |
static public the_html_unordered_list_html ( string[] $li_elements, array $args = [] ) : string | ||
$li_elements | string[] | |
$args | array | { @type string $before @type string $class @type string[]|string $attributes @type string $before_elements @type string $before_li @type string $li_class @type string[]|string $li_attributes @type string $before_text @type string $after_text @type string $after_li @type string $after_elements @type string $after @type callable $filter } |
return | string |