Lines Matching refs:result_format
191 private $result_format = "json"; variable in phpipam_api_client
222 * @param string $result_format (default: "json")
224 …$app_id = false, $api_key = false, $username = false, $password = false, $result_format = "json") { argument
242 if (strlen($result_format)>0) {
243 $this->set_result_format ($result_format);
278 if ($this->result_format=="json") {
281 elseif ($this->result_format=="array") {
284 elseif ($this->result_format=="object") {
287 elseif ($this->result_format=="xml") {
305 if ($this->result_format=="json") {
308 elseif ($this->result_format=="array") {
311 elseif ($this->result_format=="object") {
314 elseif ($this->result_format=="xml") {
370 if($this->result_format == "json")
373 if($this->result_format == "xml")
404 * @param string $result_format (default: "json")
407 public function set_result_format ($result_format = "json") { argument
408 if (strlen($result_format)>0) {
409 if (!in_array($result_format, $this->result_format_available)) {
416 $this->result_format = $result_format;