Skip to content

Commit

Permalink
phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed May 2, 2014
1 parent a1a8739 commit 1b267cf
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions framework/Http/lib/Horde/Http/Request/PeclhttpBase.php
Expand Up @@ -16,19 +16,22 @@
*/
abstract class Horde_Http_Request_PeclhttpBase extends Horde_Http_Request_Base {
/**
* Map of HTTP authentication schemes from Horde_Http constants to implementation specific constants
* Map of HTTP authentication schemes from Horde_Http constants to
* implementation specific constants.
*
* @var array
*/
protected $_httpAuthSchemes = array();

/**
* Map of proxy types from Horde_Http to implementation specific constants.
*
* @var array
*/
protected $_proxyTypes = array();

/**
* Constructor
* Constructor.
*
* @throws Horde_Http_Exception
*/
Expand All @@ -38,7 +41,8 @@ public function __construct($args = array())
}

/**
* Translate a Horde_Http::AUTH_* constant to implementation specific constants.
* Translates a Horde_Http::AUTH_* constant to implementation specific
* constants.
*
* @return const
* @throws Horde_Http_Exception
Expand All @@ -53,12 +57,13 @@ private function _httpAuthScheme()
}

/**
* Translate a Horde_Http::PROXY_* constant to implementation specific constants.
* Translates a Horde_Http::PROXY_* constant to implementation specific
* constants.
*
* @return const
* @throws Horde_Http_Exception
*/
private function _proxyType()
protected function _proxyType()
{
$proxyType = $this->proxyType;
if (!isset($this->_proxyTypes[$proxyType])) {
Expand All @@ -68,7 +73,7 @@ private function _proxyType()
}

/**
* Generate the http options for the request.
* Generates the HTTP options for the request.
*
* @return array array with options
* @throws Horde_Http_Exception
Expand Down

0 comments on commit 1b267cf

Please sign in to comment.