Lines Matching refs:args
41 $args = func_get_args();
42 if(count($args) < 3) return array();
45 $appname = $args[0];
46 $apppwd = $args[1];
47 $service = $args[2];
51 $serviceargs = isset($args[3]) ? (is_array($args[3]) ? $args[3] : array($args[3])) : array();
124 function service_test($args) { argument
125 return array('appauth' => 'ok', 'args' => $args);
133 function service_animalCreate($args) { argument
134 $name = isset($args['name']) ? $args['name'] : '';
135 $template = isset($args['template']) ? $args['template'] : '';
136 $host = isset($args['host']) ? $args['host'] : ''; // only used if farm is in virtual mode
148 function service_animalDelete($args) { argument
149 $name = isset($args['name']) ? $args['name'] : reset($args);
160 function service_animalExists($args) { argument
161 $name = isset($args['name']) ? $args['name'] : reset($args);
162 if(!dokuwiki_farm_animal::exists($args['name'])) return array('exists' => 0);
163 $a = new dokuwiki_farm_animal($args['name']);
176 function service_animalStatus($args) { argument
177 $name = isset($args['name']) ? $args['name'] : '';
178 $status = isset($args['status']) ? $args['status'] : '';
190 function service_animalLockState($args) { argument
191 $name = isset($args['name']) ? $args['name'] : '';
192 $lockstate = isset($args['lockstate']) ? $args['lockstate'] : '';
204 function service_animalsList($args) { argument