protected function isASubmittedFormInRequest($value = Doozr_Form_Service_Constant::DEFAULT_SUBMITTED)
    {
        $requestQueryParameter = $this->getRequest()->getQueryParams();
        $requestBody           = $this->getRequest()->getParsedBody();
        $fieldname             = $this->getFieldnameSubmitted();

        if (
            true === isset($requestQueryParameter[$fieldname]) &&
            $this->getScope() === $requestQueryParameter[$fieldname]
        ) {
            $value = true;
        } elseif (
            true === isset($requestBody[$fieldname]) &&
            $this->getScope() === $requestBody[$fieldname]
        ) {
            $value = true;
        }

        return $value;
    }
protected function isASubmittedFormInRequest($value = Doozr_Form_Service_Constant::DEFAULT_SUBMITTED)
    {
        $requestQueryParameter = $this->getRequest()->getQueryParams();
        $requestBody           = $this->getRequest()->getParsedBody();
        $fieldname             = $this->getFieldnameSubmitted();

        if (
            true === isset($requestQueryParameter[$fieldname]) &&
            $this->getScope() === $requestQueryParameter[$fieldname]
        ) {
            $value = true;
        } elseif (
            true === isset($requestBody[$fieldname]) &&
            $this->getScope() === $requestBody[$fieldname]
        ) {
            $value = true;
        }

        return $value;
    }
protected function isASubmittedFormInRequest ( $ value = Doozr_Form_Service_Constant :: DEFAULT_SUBMITTED ) { $ requestQueryParameter = $ this -> getRequest ( ) -> getQueryParams ( ) ; $ requestBody = $ this -> getRequest ( ) -> getParsedBody ( ) ; $ fieldname = $ this -> getFieldnameSubmitted ( ) ; if ( true === isset ( $ requestQueryParameter [ $ fieldname ] ) && $ this -> getScope ( ) === $ requestQueryParameter [ $ fieldname ] ) { $ value = true ; } elseif ( true === isset ( $ requestBody [ $ fieldname ] ) && $ this -> getScope ( ) === $ requestBody [ $ fieldname ] ) { $ value = true ; } return $ value ; }
Checks and returns the submission status of this form.

@param bool $value Submitted status default

@author Benjamin Carl <opensource@clickalicious.de>

@return bool TRUE if the form was submitted, otherwise FALSE
Checks and returns the submission status of this form .