public function __construct($options = array()) { $this->setOptions($options); }
/** * Constructor * * @throws Horde_Http_Exception */ public function __construct($args = array()) { if (!ini_get('allow_url_fopen')) { throw new Horde_Http_Exception('allow_url_fopen must be enabled'); } parent::__construct($args); }