Various utility functions. More...
Functions | |
register_js ($script) | |
Set a javascript file to session data. | |
remove_js ($script) | |
Remove a javascript file from session data. | |
get_js () | |
Retrieve an array of javascript files from session data. | |
register_css ($script) | |
Set a css file to session data. | |
remove_css ($script) | |
Remove a css file from session data. | |
get_css () | |
Retrieve an array of css files from session data. | |
set_filter ($array=array()) | |
Set filter data to session data. | |
get_filter () | |
Get filter data from session data. | |
set_page_session_data ($key, $value=null) | |
Set value to page-specific session data. | |
get_page_session_data ($key) | |
Get value from page-specific session data. | |
start_timer () | |
Start the timer. | |
get_timer () | |
Get the current time since start_timer() was run on the script. | |
print_timer () | |
Print the current time since start_timer() was run on the script. | |
ajax_check_key ($key, $action, $table) | |
Check that an AJAX key is valid. |
Various utility functions.