public function get($name = '')
    {
        $result = '';
        if (isset($_COOKIE[$name])) {
            $result = $_COOKIE[$name];
        }

        return $result;
    }
public function get($name = '')
    {
        $result = '';
        if (isset($_COOKIE[$name])) {
            $result = $_COOKIE[$name];
        }

        return $result;
    }
public function get ( $ name = '' ) { $ result = '' ; if ( isset ( $ _COOKIE [ $ name ] ) ) { $ result = $ _COOKIE [ $ name ] ; } return $ result ; }
Get a cookie

@param string $name

@return mixed
Get a cookie