PEAR Manual
Prev |  | Next

# HTTP_Client_CookieManager::addCookie()

HTTP_Client_CookieManager::addCookie() -- Explicitly adds cookie to the list

## Synopsis

    require_once 'ClientCookieManager.php';

``void HTTP_Client_CookieManager::addCookie` (array $cookie)`

## Description

This package is not documented yet.

## Parameter

array `$cookie`

  An array representing cookie, this function expects all of the array's fields (`'name'`, `'value'`, `'domain'`, `'path'`, `'expires'`, `'secure'`) to be set.

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
constructor HTTP_Client_CookieManager::HTTP_Client_CookieManager() | Up | HTTP_Client_CookieManager::passCookies()