cms_admin_utils View code

A Simple static class providing various convenience utilities for admin requests.

package

CMS

license

GPL

author

Robert Campbell

copyright

Copyright (c) 2012, Robert Campbell calguy1000@cmsmadesimple.org

since 2.0

Methods

get_icon(string $icon) : string

Get the complete URL to an admin icon

static

Arguments

string $icon

the basename of the desired icon

Response

string

get_help_tag() : string

Get a help tag for displaying inlne, popup help.

static

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.

Response

string

HTML content of the help tag