public function getCookie($cookieName) {
        if (isset($_COOKIE[$cookieName])) {
            return $this->decodeCookie($_COOKIE[$cookieName]);
        } else {
            return false;
        }
    }
public function getCookie($cookieName) {
        if (isset($_COOKIE[$cookieName])) {
            return $this->decodeCookie($_COOKIE[$cookieName]);
        } else {
            return false;
        }
    }
public function getCookie ( $ cookieName ) { if ( isset ( $ _COOKIE [ $ cookieName ] ) ) { return $ this -> decodeCookie ( $ _COOKIE [ $ cookieName ] ) ; } else { return false ; } }
Check if a cookie is set and returns its content

@param string $cookieName
@return bool
@retrurn string
Check if a cookie is set and returns its content