cms_admin_utils
in package
FinalYes
A Simple static class providing various convenience utilities for admin requests.
Tags
Table of Contents
Methods
- get_help_tag() : string
- Get a help tag for displaying inlne, popup help.
- get_icon() : string
- Get the complete URL to an admin icon
Methods
get_help_tag()
Get a help tag for displaying inlne, popup help.
public
static get_help_tag() : string
This method accepts variable arguments. If only one argument is passed it is assumed to be the second key for the help tag and the first key is assumed to be the current module name. If two arguments are passed the first argument is assumed to be key1 and the second to be key2.
Return values
string —HTML content of the help tag
get_icon()
Get the complete URL to an admin icon
public
static get_icon(string $icon) : string
Parameters
- $icon : string
-
the basename of the desired icon