Changeset 580 for trunk/zoo-project/zoo-kernel/service_internal_php.c
- Timestamp:
- Feb 12, 2015, 11:18:07 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service_internal_php.c
r556 r580 1 /* *1 /* 2 2 * Author : Gérald FENOY 3 3 * … … 41 41 map* php_map_from_HasTable(HashTable* t); 42 42 43 /** 44 * Load a PHP script then run the function corresponding to the service by 45 * passing the conf, inputs and outputs parameters by reference. 46 * 47 * @param main_conf the conf maps containing the main.cfg settings 48 * @param request the map containing the HTTP request 49 * @param s the service structure 50 * @param real_inputs the maps containing the inputs 51 * @param real_outputs the maps containing the outputs 52 */ 43 53 int zoo_php_support(maps** main_conf,map* request,service* s,maps **real_inputs,maps **real_outputs){ 44 54 maps* m=*main_conf; … … 101 111 } 102 112 113 /** 114 * Convert a maps to a php Array 115 * 116 * @param t the maps to convert 117 * @return the php Array 118 */ 103 119 zval *php_Array_from_maps(maps* t){ 104 120 zval *mapArray; … … 115 131 } 116 132 133 /** 134 * Convert a map to a php Array 135 * 136 * @param t the map to convert 137 * @return the php Array 138 */ 117 139 zval *php_Array_from_map(map* t){ 118 140 zval *mapArray; … … 135 157 } 136 158 159 /** 160 * Convert a php Array to a maps 161 * 162 * @param t the php Array to convert 163 * @return the created maps 164 */ 137 165 maps* php_maps_from_Array(HashTable *t){ 138 166 maps* final_res=NULL; … … 201 229 } 202 230 231 /** 232 * Convert a php Array to a map 233 * 234 * @param t the php Array to convert 235 * @return the created map 236 */ 203 237 map* php_map_from_HasTable(HashTable* t){ 204 238 #ifdef DEBUG
Note: See TracChangeset
for help on using the changeset viewer.