This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
core_docs:utility_functions [2016/06/05 09:41] Tyblitz [XMLsave] |
core_docs:utility_functions [2016/06/05 09:51] (current) Tyblitz [find_accesskey] |
||
---|---|---|---|
Line 13: | Line 13: | ||
===== get_execution_time ===== | ===== get_execution_time ===== | ||
===== getXML ===== | ===== getXML ===== | ||
+ | **Signature** | ||
+ | <code>getXML($path_to_file)</code> | ||
+ | |||
+ | **Description**\\ | ||
+ | Retrieves the XML contents from ''$path_to_file'' and returns it as a SimpleXMLExtended object. | ||
===== XMLsave ===== | ===== XMLsave ===== | ||
**Signature** | **Signature** | ||
Line 124: | Line 129: | ||
===== htmldecode ===== | ===== htmldecode ===== | ||
===== lowercase ===== | ===== lowercase ===== | ||
+ | **Signature** | ||
+ | <code>lowercase($text)</code> | ||
+ | |||
+ | **Description**\\ | ||
+ | Converts ''$text'' to lowercase. | ||
===== find_accesskey ===== | ===== find_accesskey ===== | ||
+ | **Signature** | ||
+ | <code>find_accesskey($i18n_string)</code> | ||
+ | |||
+ | **Description**\\ | ||
+ | Relies on access keys being enclosed by '<em></em>' elements in an i18n string. Used especially in the admin's main navigation. | ||
===== _id ===== | ===== _id ===== | ||
===== defined_array ===== | ===== defined_array ===== |