__construct() public method

Constructor
public __construct ( $options = [] )
Esempio n. 1
0
 /**
  * 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);
 }
Esempio n. 2
0
 /**
  * Constructor
  *
  * @throws Horde_Http_Exception
  */
 public function __construct($args = array())
 {
     if (!extension_loaded('curl')) {
         throw new Horde_Http_Exception('The curl extension is not installed. See http://php.net/curl.installation');
     }
     parent::__construct($args);
 }
Esempio n. 3
0
 /**
  * Constructor.
  *
  * @throws Horde_Http_Exception
  */
 public function __construct($args = array())
 {
     parent::__construct($args);
 }