public function hasContent($intCount = 0)
    {
        $blnReturn = false;

        /* @var $objField Element */
        foreach ($this->__fields as $objField) {
            if (get_class($objField) !== "ValidFormBuilder\\Hidden") {
                $objValidator = $objField->getValidator();
                if (is_object($objValidator)) {
                    $varValue = $objValidator->getValue($intCount);

                    if (! empty($varValue)) {
                        $blnReturn = true;

                        break;
                    }
                }
            }
        }

        return $blnReturn;
    }
public function hasContent($intCount = 0)
    {
        $blnReturn = false;

        /* @var $objField Element */
        foreach ($this->__fields as $objField) {
            if (get_class($objField) !== "ValidFormBuilder\\Hidden") {
                $objValidator = $objField->getValidator();
                if (is_object($objValidator)) {
                    $varValue = $objValidator->getValue($intCount);

                    if (! empty($varValue)) {
                        $blnReturn = true;

                        break;
                    }
                }
            }
        }

        return $blnReturn;
    }
public function hasContent ( $ intCount = 0 ) { $ blnReturn = false ; /* @var $objField Element */ foreach ( $ this -> __fields as $ objField ) { if ( get_class ( $ objField ) !== "ValidFormBuilder\\Hidden" ) { $ objValidator = $ objField -> getValidator ( ) ; if ( is_object ( $ objValidator ) ) { $ varValue = $ objValidator -> getValue ( $ intCount ) ; if ( ! empty ( $ varValue ) ) { $ blnReturn = true ; break ; } } } } return $ blnReturn ; }
Loop through all child fields and check their values. If one value is not empty, the MultiField has content.

@param integer $intCount The current dynamic count.
@return boolean True if multifield has content, false if not.
Loop through all child fields and check their values . If one value is not empty the MultiField has content .