src/components/FormComponent.php
private function checkFormIdInSession()
    {
        if (!isset($_SESSION[self::SESSION_PARAMETER_FORM_COMPONENT][$this->formParameterName][self::PARAMETER_FORM_ID])) {
            return false;
        }

        if (!$_SESSION[self::SESSION_PARAMETER_FORM_COMPONENT][$this->formParameterName][self::PARAMETER_FORM_ID] === $this->formId) {
            return false;
        }

        return true;
    }
private function checkFormIdInSession()
    {
        if (!isset($_SESSION[self::SESSION_PARAMETER_FORM_COMPONENT][$this->formParameterName][self::PARAMETER_FORM_ID])) {
            return false;
        }

        if (!$_SESSION[self::SESSION_PARAMETER_FORM_COMPONENT][$this->formParameterName][self::PARAMETER_FORM_ID] === $this->formId) {
            return false;
        }

        return true;
    }
private function checkFormIdInSession ( ) { if ( ! isset ( $ _SESSION [ self :: SESSION_PARAMETER_FORM_COMPONENT ] [ $ this -> formParameterName ] [ self :: PARAMETER_FORM_ID ] ) ) { return false ; } if ( ! $ _SESSION [ self :: SESSION_PARAMETER_FORM_COMPONENT ] [ $ this -> formParameterName ] [ self :: PARAMETER_FORM_ID ] === $ this -> formId ) { return false ; } return true ; }
Checks if form is is set in _SESSION variable
@return bool
Checks if form is is set in _SESSION variable