src/ShopBundle/objects/WebModules/MTShopArticleQuestionEndPoint.class.php
protected function isAntiSpamFieldValid()
    {
        $bCodeIsValid = false;
        $oCaptcha = TdbPkgCmsCaptcha::GetInstanceFromName('text-field-javascript-hidden');
        if ($oCaptcha->CodeIsValid('question', '')) {
            $bCodeIsValid = true;
        }

        return $bCodeIsValid;
    }
protected function isAntiSpamFieldValid()
    {
        $bCodeIsValid = false;
        $oCaptcha = TdbPkgCmsCaptcha::GetInstanceFromName('text-field-javascript-hidden');
        if ($oCaptcha->CodeIsValid('question', '')) {
            $bCodeIsValid = true;
        }

        return $bCodeIsValid;
    }
protected function isAntiSpamFieldValid ( ) { $ bCodeIsValid = false ; $ oCaptcha = TdbPkgCmsCaptcha :: GetInstanceFromName ( 'text-field-javascript-hidden' ) ; if ( $ oCaptcha -> CodeIsValid ( 'question' , '' ) ) { $ bCodeIsValid = true ; } return $ bCodeIsValid ; }
checks the anti spam field.

@return bool
checks the anti spam field .