private function setSnoopy() { if (empty($this->snoopy)) { $this->snoopy = new Snoopy(); $this->snoopy->curl_path = app_publisher_lib_Config::getInstance()->getCurlPath(); } }
protected function __construct() { $this->wikiRoot = app_publisher_lib_Config::getInstance()->getWikiRoot(); $this->apiUrl = app_publisher_lib_Config::getInstance()->getApiUrl(); $this->conn = app_publisher_lib_Snoopy::getInstance(); }