Lines Matching refs:null

191 		if($authorIp != null) $parameters['author_ip'] = (string) $authorIp;
229 …nId = null, $postTitle = null, $postBody = null, $authorName = null, $authorUrl = null, $authorEma…
232null && $postTitle === null && $postBody === null && $authorName === null && $authorUrl === null &…
239 if($sessionId !== null) $parameters['session_id'] = (string) $sessionId;
240 if($postTitle !== null) $parameters['post_title'] = (string) $postTitle;
241 if($postBody !== null) $parameters['post_body'] = (string) $postBody;
242 if($authorName !== null) $parameters['author_name'] = (string) $authorName;
243 if($authorUrl !== null) $parameters['author_url'] = (string) $authorUrl;
244 if($authorEmail !== null) $parameters['author_mail'] = (string) $authorEmail;
245 if($authorOpenId != null) $parameters['author_openid'] = (string) $authorOpenId;
246 if($authorId != null) $parameters['author_id'] = (string) $authorId;
254 if($authorIp != null) $parameters['author_ip'] = (string) $authorIp;
316 private static function doCall($method, $parameters = array(), $server = null, $counter = 0)
321 …if($server === null && $countServerList == 0) throw new Exception('No servers found, populate the …
334 if(self::$publicKey === null) throw new Exception('Public key wasn\'t set.');
337 if(self::$privateKey === null) throw new Exception('Private key wasn\'t set.');
340 if($server === null) $server = self::$serverList[$counter];
461 if(self::$serverList === null) self::getServerList();
493 public static function getAudioCaptcha($sessionId = null)
503 if($sessionId != null) $parameters['session_id'] = (string) $sessionId;
504 if($authorIp != null) $parameters['author_ip'] = (string) $authorIp;
542 public static function getImageCaptcha($sessionId = null)
552 if($sessionId !== null) $parameters['session_id'] = (string) $sessionId;
553 if($authorIp !== null) $parameters['author_ip'] = (string) $authorIp;
580 if(!isset($_SERVER['REMOTE_ADDR'])) return null;