framework/web/CookieCollection.php
public function getValue($name, $defaultValue = null)
    {
        return isset($this->_cookies[$name]) ? $this->_cookies[$name]->value : $defaultValue;
    }
public function getValue($name, $defaultValue = null)
    {
        return isset($this->_cookies[$name]) ? $this->_cookies[$name]->value : $defaultValue;
    }
public function getValue ( $ name , $ defaultValue = null ) { return isset ( $ this -> _cookies [ $ name ] ) ? $ this -> _cookies [ $ name ] -> value : $ defaultValue ; }
Returns the value of the named cookie.
@param string $name the cookie name
@param mixed $defaultValue the value that should be returned when the named cookie does not exist.
@return mixed the value of the named cookie.
@see get()
Returns the value of the named cookie .