예제 #1
0
 function sajax_get_javascript()
 {
     global $sajax_js_has_been_shown;
     global $sajax_export_list;
     $html = "";
     if (!$sajax_js_has_been_shown) {
         $html .= sajax_get_common_js();
         $sajax_js_has_been_shown = 1;
     }
     foreach ($sajax_export_list as $func) {
         $html .= sajax_get_one_stub($func);
     }
     return $html;
 }
예제 #2
0
 function sajax_show_common_js()
 {
     echo sajax_get_common_js();
 }