Class we_net_Http

Description

class for local installation of webEdition applications (formerly known as "tools") the source files need to be present as a zip file at a specified location

Located in /net/Http.php (line 75)


	
			
Method Summary
we_net_Http __construct ([ $uri = ""])
void disableProxy ()
void enableProxy ()
object Zend_Http_Response get ([array $param = array()])
object Zend_Http_Response head ([array $param = array()])
object Zend_Http_Response post ([array $param = array()])
object Zend_Http_Response put ([array $param = array()])
void setProxy ([ $params = array()])
void setUri (string $uri)
mixed __get ( $attribute)
void __set ( $attribute, [ $value = ""])
int __toString ()
Methods
Constructor __construct (line 137)
  • access: public
we_net_Http __construct ([ $uri = ""])
  • $uri
disableProxy (line 243)

disable usage of proxy for the forthcoming connections

the proxy parameters won't be lost

  • access: public
void disableProxy ()
enableProxy (line 234)

enable usage of proxy, but you neet to specify the connection parameters

first using $this->setProxy()

  • access: public
void enableProxy ()
get (line 273)

send a http request of method "GET"

  • return: object
  • access: public
object Zend_Http_Response get ([array $param = array()])
  • array $param: request parameters (optional)
head (line 258)

send a http request of method "HEAD"

  • return: object or false
  • access: public
object Zend_Http_Response head ([array $param = array()])
  • array $param: request parameters (optional)
post (line 288)

send a http request of method "POST"

  • return: object or false
  • access: public
object Zend_Http_Response post ([array $param = array()])
  • array $param: request parameters (optional)
put (line 303)

send a http request of method "PUT"

  • return: object or false
  • access: public
object Zend_Http_Response put ([array $param = array()])
  • array $param: request parameters (optional)
setProxy (line 224)

specify proxy connection parameters to use for http connections: automatically enables usage of this proxy

  • access: public
  • uses: Zend_Http_Client_Adapter_Proxy
void setProxy ([ $params = array()])
  • $params
setUri (line 192)

specify the uri for the next request, can also be done via __set()

  • access: public
void setUri (string $uri)
  • string $uri: complete uri with scheme, host, port, path, parameters etc.
__get (line 156)

getter method

  • return: returns a class variable
  • access: public
mixed __get ( $attribute)
  • $attribute
__set (line 172)

public setter method for all request parameters

  • access: public
void __set ( $attribute, [ $value = ""])
  • $attribute
  • $value
__toString (line 147)
  • return: response of the current request
  • access: public
int __toString ()

Documentation generated on Mon, 01 Sep 2008 11:35:40 +0200 by phpDocumentor 1.4.0