public function __construct($uri = null, $config = null) { if ($uri !== null) { $this->setUri($uri); } if ($config !== null) { $this->setConfig($config); } $this->_queryBracketsEscaped = version_compare(phpversion(), '5.1.3', '>='); }
/** * Constructs Object with Server URL and Configs * * @param array */ public function __construct($array = false) { if ($array != false) { $this->setTestMode($array[0]); } parent::__construct($this->getServerUrl(), $this->getConfig()); }