public function get($key) {
        $key = $this->secureKey($key);
        
        if (isset($_SESSION[$key])) {
            return trim(Text::unlock($_SESSION[$key], $this->sugar()));
        } else {
            return '';
        }
    }
public function get($key) {
        $key = $this->secureKey($key);
        
        if (isset($_SESSION[$key])) {
            return trim(Text::unlock($_SESSION[$key], $this->sugar()));
        } else {
            return '';
        }
    }
public function get ( $ key ) { $ key = $ this -> secureKey ( $ key ) ; if ( isset ( $ _SESSION [ $ key ] ) ) { return trim ( Text :: unlock ( $ _SESSION [ $ key ] , $ this -> sugar ( ) ) ) ; } else { return '' ; } }
Gets session variable's value

@access  public
@param   string  $key    Session variable name
@return  string
Gets session variable s value