00001 <?php 00059 function load_module($mod_name, $type = MOD_EXPLICIT){ 00060 global ${Z_LOADER_VAR_NAME}; 00061 $load = &${Z_LOADER_VAR_NAME}; 00062 return $load->module($mod_name, $type); 00063 } 00074 function load_plugin($plugin_name, $type = PLUG_EXPLICIT){ 00075 global ${Z_LOADER_VAR_NAME}; 00076 $load = &${Z_LOADER_VAR_NAME}; 00077 return $load->plugin($plugin_name, $type); 00078 } 00086 function load_lib($lib_name){ 00087 global ${Z_LOADER_VAR_NAME}; 00088 $load = &${Z_LOADER_VAR_NAME}; 00089 return $load->lib($lib_name); 00090 } 00097 function list_modules(){ 00098 global ${Z_LOADER_VAR_NAME}; 00099 $load = &${Z_LOADER_VAR_NAME}; 00100 return $load->listModules(); 00101 } 00108 function list_plugins(){ 00109 global ${Z_LOADER_VAR_NAME}; 00110 $load = &${Z_LOADER_VAR_NAME}; 00111 return $load->listPlugins(); 00112 } 00114 ?>