user_agent.php
public function setCookies(array $lstCookies)
    {
        foreach($lstCookies as $aCookies) {
                $this->cookie_jar->setCookie(
                $aCookies['name'],
                $aCookies['value'],
                $aCookies['host'],
                $aCookies['path'],
                $aCookies['expiry']
            );
        }
    }
public function setCookies(array $lstCookies)
    {
        foreach($lstCookies as $aCookies) {
                $this->cookie_jar->setCookie(
                $aCookies['name'],
                $aCookies['value'],
                $aCookies['host'],
                $aCookies['path'],
                $aCookies['expiry']
            );
        }
    }
public function setCookies ( array $ lstCookies ) { foreach ( $ lstCookies as $ aCookies ) { $ this -> cookie_jar -> setCookie ( $ aCookies [ 'name' ] , $ aCookies [ 'value' ] , $ aCookies [ 'host' ] , $ aCookies [ 'path' ] , $ aCookies [ 'expiry' ] ) ; } }
Import a list of cookies
@access public
@param array
Import a list of cookies