A set of static utilities for assisting with admin requests
is_valid_itemname(string $str) : boolean|string
For use by various modules and the core. The name must begin with an alphanumeric character (but some extended characters are allowed). And must be followed by the same alphanumeric characters note the name is not necessarily guaranteed to be usable in smarty without backticks.
The string to test
FALSE on error or the validated string.
get_generic_url(string $in_url) : string
This is useful for things like bookmarks and homepages.
The input URL that has the session key in it.
A URL that is converted to a generic form.
get_session_url(string $in_url) : string
The generic url. usually retrieved from a preference or from the database
A URL that has a session key in it.
fetch_latest_cmsms_ver() : string
This method does a remote request to the version check URL at most once per day.
site_needs_updating() : boolean