__construct() публичный Метод

Constructor
public __construct ( $options = [] )
Пример #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);
 }
Пример #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);
 }
Пример #3
0
 /**
  * Constructor.
  *
  * @throws Horde_Http_Exception
  */
 public function __construct($args = array())
 {
     parent::__construct($args);
 }