Lines Matching refs:this
16 $controller->register_hook('COMMON_WIKIPAGE_SAVE', 'AFTER', $this, 'tweet', array());
25 $api_key = $this->getConf('apiKey');
26 $api_secret = $this->getConf('apiSecret');
27 $access_token = $this->getConf('accessToken');
28 $access_token_secret = $this->getConf('accessTokenSecret');
67 switch ($this->getConf('guestIP')) {
162 $this->curl = curl_init() ;
163 curl_setopt( $this->curl, CURLOPT_URL , $request_url ) ; // Request URL
164 curl_setopt( $this->curl, CURLOPT_HEADER, true ) ; // Get the header
165 curl_setopt( $this->curl, CURLOPT_CUSTOMREQUEST, $context['http']['method'] ) ; // Method
166 curl_setopt( $this->curl, CURLOPT_SSL_VERIFYPEER, false ) ; // Don't verify the certificate
167 …curl_setopt( $this->curl, CURLOPT_RETURNTRANSFER, true ) ; // Return the result of the curl_exec w…
168 curl_setopt( $this->curl, CURLOPT_HTTPHEADER, $context['http']['header'] ) ; // Header
170 … curl_setopt( $this->curl, CURLOPT_POSTFIELDS, $context['http']['content'] ) ; // Request body
172 curl_setopt( $this->curl, CURLOPT_TIMEOUT, 5 ) ; // Timeout seconds
173 $res1 = curl_exec( $this->curl ) ;
174 $res2 = curl_getinfo( $this->curl ) ;
175 curl_close( $this->curl ) ;
180 if ($this->getConf('debug') and auth_ismanager()) {