Lines Matching refs:client

11     protected $client = null;  variable in admin_plugin_sync
24 if(!is_null($this->client)) return true;
33 … $this->client = new IXR_Client($this->profiles[$this->profno]['server'], false, 80, $timeout);
36 … $this->client = new dokuwiki\Remote\IXR\Client($this->profiles[$this->profno]['server']);
37 $this->client->timeout = $timeout;
42 $ok = $this->client->query('dokuwiki.login',
47 msg($this->getLang('xmlerr').' '.hsc($this->client->getErrorMessage()),-1);
48 $this->client = null;
51 if(!$this->client->getResponse()){
53 $this->client = null;
58 $ok = $this->client->query('dokuwiki.getXMLRPCAPIVersion');
60 msg($this->getLang('xmlerr').' '.hsc($this->client->getErrorMessage()),-1);
61 $this->client = null;
64 $this->apiversion = (int) $this->client->getResponse();
67 $this->client = null;
102 $this->client = null;
222 $ok = $this->client->query('dokuwiki.getVersion');
224 if($ok) $version = $this->client->getResponse();
238 …echo '<p class="error">'.$this->getLang('noconnect').'<br />'.hsc($this->client->getErrorMessage()…
359 $ok = $this->client->query('dokuwiki.setLocks',array('lock'=>$lock,'unlock'=>array()));
365 $data = $this->client->getResponse();
420 $ok = $this->client->query('wiki.getPage',$id);
422 $ok = $this->client->query('wiki.getAttachment',$id);
426 $this->client->getErrorMessage(),'pull_fail');
429 $data = $this->client->getResponse();
446 $ok = $this->client->query('wiki.putPage',$id,$data,array('sum'=>$sum));
454 $ok = $this->client->query('wiki.putAttachment',$id,$data,array('ow'=>true));
458 $this->client->getErrorMessage(),'push_fail');
467 $ok = $this->client->query('wiki.putPage',$id,'',array('sum'=>$sum));
469 $ok = $this->client->query('wiki.deleteAttachment',$id);
473 $this->client->getErrorMessage(),'del_fail');
486 $this->client->query('dokuwiki.setLocks',array('lock'=>array(),'unlock'=>$lock));
630 $ok = $this->client->query('dokuwiki.getTime');
633 $this->client->getErrorMessage(),-1);
636 $rtime = $this->client->getResponse();
653 $ok = $this->client->query('dokuwiki.getPagelist',$ns,
657 $ok = $this->client->query('wiki.getAttachments',$ns,
663 $this->client->getErrorMessage(),-1);
666 $remote = $this->client->getResponse();
712 $ok = $this->client->query('wiki.getPage',$id);
715 echo hsc($this->client->getErrorMessage());
718 $remote = $this->client->getResponse();