Lines Matching refs:ch
27 var $ch; variable in remote_plugin_asana_APILink
62 $this->ch= curl_init();
64 curl_setopt($this->ch, CURLOPT_RETURNTRANSFER , true);
66 curl_setopt($this->ch, CURLOPT_HTTPHEADER , array('Content-type: application/json'));
68 curl_setopt($this->ch, CURLOPT_SSL_VERIFYPEER , FALSE);
74 curl_close($this->ch);
111 curl_setopt($this->ch, CURLOPT_USERPWD , $this->api_key . ":");
356 curl_setopt($this->ch, CURLOPT_URL , $this->url_base."/users/me");
357 $data_rep = json_decode(curl_exec($this->ch),true);
369 curl_setopt($this->ch, CURLOPT_URL , $this->url_base."/workspaces/".$workspace_ID."/users");
370 $data_rep = json_decode(curl_exec($this->ch),true);
380 curl_setopt($this->ch, CURLOPT_URL , $this->url_base."/workspaces/".$workspace_ID."/projects");
381 $data_rep = json_decode(curl_exec($this->ch),true);
392 curl_setopt($this->ch, CURLOPT_URL , $this->url_base."/workspaces/".$workspace_ID."/tags");
393 $data_rep = json_decode(curl_exec($this->ch),true);
418 curl_setopt($this->ch, CURLOPT_URL , $this->url_base."/projects/".$project_ID."/tasks");
419 $data_rep = json_decode(curl_exec($this->ch),true);
430 curl_setopt($this->ch, CURLOPT_URL , $this->url_base."/tasks/".$task_ID);
431 $data_rep = json_decode(curl_exec($this->ch),true);
442 curl_setopt($this->ch, CURLOPT_URL, $this->url_base."/tasks/".$task_ID."/stories");
443 $data_rep = json_decode(curl_exec($this->ch),true);