|
noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
|
Go to the source code of this file.
Functions | |
| build_javascript_attribute ($pa_attribute) | |
| build a string with the attribute that javascript can use , that string must be included in a DOM element. | |
| create_script ($p_string) | |
| create the HTML for adding the script tags around of the script | |
| decodeURI ($string) | |
| decodeURIbycharacter ($str) | |
| decodeURIComponent ($string) | |
| decodeURIComponentbycharacter ($str) | |
| encodeURI ($string) | |
| encodeURIbycharacter ($char) | |
| encodeURIComponent ($string) | |
| encodeURIComponentbycharacter ($char) | |
| escape ($string) | |
| escape_xml ($p_xml) | |
| When data are transfered thanks ajax in a xml document, the xml can not contains some character, to escape those characters, we must use this function. | |
| escapebycharacter ($char) | |
| js_include ($p_string) | |
| create the HTML for including of a javascript file if a file is included twice, the second time it will be discarded there is an alert if the file doesn't exist | |
| json_response ($p_answer) | |
| Send header and json object. | |
| load_all_script () | |
| load all the javascript only one time | |
| unescape ($string) | |
| unescape_xml ($p_xml) | |
| replace special char | |
| unescapebycharacter ($str) | |
| build_javascript_attribute | ( | $pa_attribute | ) |
build a string with the attribute that javascript can use , that string must be included in a DOM element.
| $pa_attribute | array of pair key => value |
Definition at line 2810 of file function_javascript.php.
Referenced by HtmlInput\anchor().
| create_script | ( | $p_string | ) |
create the HTML for adding the script tags around of the script
| $p_string | source codename of the file |
Definition at line 39 of file function_javascript.php.
References $script.
Referenced by Noalyss\Widget\Widget\display_available(), Operation_Exercice\display_result(), Noalyss\Mobile\execute_menu(), HtmlInput\get_js_attr(), IPoste\get_js_attr(), Acc_Ledger_Fin\input(), Acc_Ledger_Purchase\input(), Acc_Ledger_Sale\input(), IAncCard\input(), ICard\input(), IFile\input(), IPopup\input(), Template_Card_Category\input(), Profile_Menu\mobile_device(), and IPopup\set_title().
| decodeURI | ( | $string | ) |
Definition at line 1780 of file function_javascript.php.
References $i, $num, $p, $result, $string, and decodeURIbycharacter().
Here is the call graph for this function:| decodeURIbycharacter | ( | $str | ) |
Definition at line 1797 of file function_javascript.php.
References $str.
Referenced by decodeURI().
| decodeURIComponent | ( | $string | ) |
Definition at line 600 of file function_javascript.php.
References $i, $num, $p, $result, $string, and decodeURIComponentbycharacter().
Here is the call graph for this function:| decodeURIComponentbycharacter | ( | $str | ) |
Definition at line 617 of file function_javascript.php.
References $str.
Referenced by decodeURIComponent().
| encodeURI | ( | $string | ) |
Definition at line 1181 of file function_javascript.php.
References $i, $result, $string, and encodeURIbycharacter().
Here is the call graph for this function:| encodeURIbycharacter | ( | $char | ) |
Definition at line 1191 of file function_javascript.php.
Referenced by encodeURI().
| encodeURIComponent | ( | $string | ) |
Definition at line 45 of file function_javascript.php.
References $i, $result, $string, and encodeURIComponentbycharacter().
Here is the call graph for this function:| encodeURIComponentbycharacter | ( | $char | ) |
Definition at line 55 of file function_javascript.php.
Referenced by encodeURIComponent().
| escape | ( | $string | ) |
Definition at line 2405 of file function_javascript.php.
References $i, $result, $string, and escapebycharacter().
Here is the call graph for this function:| escape_xml | ( | $p_xml | ) |
When data are transfered thanks ajax in a xml document, the xml can not contains some character, to escape those characters, we must use this function.
| $p_xml | the xml to escape |
Definition at line 2721 of file function_javascript.php.
References $xml, and noalyss_str_replace().
Referenced by ajax_xml_error().
Here is the call graph for this function:| escapebycharacter | ( | $char | ) |
Definition at line 2415 of file function_javascript.php.
Referenced by escape().
| js_include | ( | $p_string | ) |
create the HTML for including of a javascript file if a file is included twice, the second time it will be discarded there is an alert if the file doesn't exist
| $p_string | name of the file |
Definition at line 17 of file function_javascript.php.
References $script, $seq, $version_noalyss, and alert().
Referenced by load_all_script().
Here is the call graph for this function:| json_response | ( | $p_answer | ) |
Send header and json object.
| array | $p_answer | this array will be converted to json object |
Definition at line 2796 of file function_javascript.php.
| load_all_script | ( | ) |
load all the javascript only one time
Definition at line 2753 of file function_javascript.php.
References js_include(), and JS_INFOBULLE.
Referenced by html_page_start(), and Noalyss\Mobile\page_start().
Here is the call graph for this function:| unescape | ( | $string | ) |
Definition at line 2548 of file function_javascript.php.
References $i, $num, $p, $result, $string, and unescapebycharacter().
Here is the call graph for this function:| unescape_xml | ( | $p_xml | ) |
replace special char
| $p_xml | the xml to escape |
Definition at line 2739 of file function_javascript.php.
References $xml, and noalyss_str_replace().
Here is the call graph for this function:| unescapebycharacter | ( | $str | ) |
Definition at line 2565 of file function_javascript.php.
References $str.
Referenced by unescape().