public function issetVariable($variable)
    {
        // Encrypt the variable-name?
        if (true === $this->hasEncryption()) {
            $variable = $this->encrypt($variable);
        }

        // return the isset status of given variable
        return (true === isset($_SESSION[$variable]));
    }
public function issetVariable($variable)
    {
        // Encrypt the variable-name?
        if (true === $this->hasEncryption()) {
            $variable = $this->encrypt($variable);
        }

        // return the isset status of given variable
        return (true === isset($_SESSION[$variable]));
    }
public function issetVariable ( $ variable ) { // Encrypt the variable-name? if ( true === $ this -> hasEncryption ( ) ) { $ variable = $ this -> encrypt ( $ variable ) ; } // return the isset status of given variable return ( true === isset ( $ _SESSION [ $ variable ] ) ) ; }
returns the isset status of variable.

@param string $variable The name of the session-variable to check if set

@author Benjamin Carl <opensource@clickalicious.de>

@return bool TRUE if variable is set, otherwise FALSE
returns the isset status of variable .