User Tools

Site Tools


core_docs:utility_functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
core_docs:utility_functions [2016/06/05 09:35]
Tyblitz [shtDate]
core_docs:utility_functions [2016/06/05 09:49]
Tyblitz [lowercase]
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**
 +<​code>​XMLsave($xml,​ $file)</​code>​
 +
 +**Description**\\
 +Saves (ideally SimpleXMLExtended) ''​$xml''​ objects to the ''​$file''​ path.\\
 +If ''​GSFORMATXML''​ is true, will pretty-print the XML string.\\ ​
 +This function executes the filter ''​xmlsave''​ every time it is called, so that everyone can alter the XML string by using ''​add_filter('​xmlsave',​ '​myFunc'​)''​
 ===== lngDate ===== ===== lngDate =====
 **Signature** **Signature**
Line 117: Line 129:
 ===== htmldecode ===== ===== htmldecode =====
 ===== lowercase ===== ===== lowercase =====
 +**Signature**
 +<​code>​lowercase($text)</​code>​
 +
 +**Description**\\
 +Converts ''​$text''​ to lowercase.
 ===== find_accesskey ===== ===== find_accesskey =====
 ===== _id ===== ===== _id =====
core_docs/utility_functions.txt ยท Last modified: 2016/06/05 09:51 by Tyblitz