This commit is contained in:
Zach Borboa
2015-08-21 15:50:06 -07:00
parent ae15ff9ab1
commit bf861695f8
2 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -168,9 +168,9 @@ Curl::downloadComplete($fh)
Curl::error($callback)
Curl::exec($ch = null)
Curl::get($url, $data = array())
Curl::getCookie($key) {
Curl::getCookie($key)
Curl::getOpt($option)
Curl::getResponseCookie($key) {
Curl::getResponseCookie($key)
Curl::head($url, $data = array())
Curl::headerCallback($ch, $header)
Curl::options($url, $data = array())
+4 -2
View File
@@ -549,7 +549,8 @@ class Curl
* @access public
* @param $key
*/
public function getCookie($key) {
public function getCookie($key)
{
return $this->getResponseCookie($key);
}
@@ -559,7 +560,8 @@ class Curl
* @access public
* @param $key
*/
public function getResponseCookie($key) {
public function getResponseCookie($key)
{
return isset($this->responseCookies[$key]) ? $this->responseCookies[$key] : null;
}