public function logged($src, $value = '') {
        if (isset($this->_config->config['firewall']['' . $src . ''])) {
            if ($value == '') {
                $logged = explode('.', $this->_config->config['firewall']['' . $src . '']['logged']['name']);

                $data = $this->_getSession($logged);

                if ($data != '') {
                    return $data;
                }
                else {
                    return false;
                }
            }
            else {
                $logged = explode('.', $this->_config->config['firewall']['' . $src . '']['logged']['name']);
                $this->_setSession($logged, $value);
            }
        }
        else {
            throw new MissingConfigException('the module ' . $src . ' doesn\'t exist');
        }

        return false;
    }
public function logged($src, $value = '') {
        if (isset($this->_config->config['firewall']['' . $src . ''])) {
            if ($value == '') {
                $logged = explode('.', $this->_config->config['firewall']['' . $src . '']['logged']['name']);

                $data = $this->_getSession($logged);

                if ($data != '') {
                    return $data;
                }
                else {
                    return false;
                }
            }
            else {
                $logged = explode('.', $this->_config->config['firewall']['' . $src . '']['logged']['name']);
                $this->_setSession($logged, $value);
            }
        }
        else {
            throw new MissingConfigException('the module ' . $src . ' doesn\'t exist');
        }

        return false;
    }
public function logged ( $ src , $ value = '' ) { if ( isset ( $ this -> _config -> config [ 'firewall' ] [ '' . $ src . '' ] ) ) { if ( $ value == '' ) { $ logged = explode ( '.' , $ this -> _config -> config [ 'firewall' ] [ '' . $ src . '' ] [ 'logged' ] [ 'name' ] ) ; $ data = $ this -> _getSession ( $ logged ) ; if ( $ data != '' ) { return $ data ; } else { return false ; } } else { $ logged = explode ( '.' , $ this -> _config -> config [ 'firewall' ] [ '' . $ src . '' ] [ 'logged' ] [ 'name' ] ) ; $ this -> _setSession ( $ logged , $ value ) ; } } else { throw new MissingConfigException ( 'the module ' . $ src . ' doesn\'t exist' ) ; } return false ; }
Get and Set the value of any logged attribute
@access public
@param $src   string
@param $value string : new value
@throws \Gcs\Framework\Core\Exception\MissingConfigException
@return mixed
@since 3.0
@package Gcs\Framework\Core\Http\Request
Get and Set the value of any logged attribute