Horde_Http_Request_Base::__construct PHP Method

__construct() public method

Constructor
public __construct ( $options = [] )
    public function __construct($options = array())
    {
        $this->setOptions($options);
    }

Usage Example

Example #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);
 }
All Usage Examples Of Horde_Http_Request_Base::__construct