private function __validate($intCount = null)
    {
        $blnReturn = true;

        foreach ($this->__fields as $field) {
            // Note: hasContent is only accurate if isValid() is called first ...
            if (! $field->isValid($intCount)) {
                $blnReturn = false;
                break;
            }
        }

        // ... therefore, check if the area is empty after validation of all the fields.
        if ($this->__active && ! $this->hasContent($intCount)) {
            $blnReturn = true;
        }

        return $blnReturn;
    }
private function __validate($intCount = null)
    {
        $blnReturn = true;

        foreach ($this->__fields as $field) {
            // Note: hasContent is only accurate if isValid() is called first ...
            if (! $field->isValid($intCount)) {
                $blnReturn = false;
                break;
            }
        }

        // ... therefore, check if the area is empty after validation of all the fields.
        if ($this->__active && ! $this->hasContent($intCount)) {
            $blnReturn = true;
        }

        return $blnReturn;
    }
private function __validate ( $ intCount = null ) { $ blnReturn = true ; foreach ( $ this -> __fields as $ field ) { // Note: hasContent is only accurate if isValid() is called first ... if ( ! $ field -> isValid ( $ intCount ) ) { $ blnReturn = false ; break ; } } // ... therefore, check if the area is empty after validation of all the fields. if ( $ this -> __active && ! $ this -> hasContent ( $ intCount ) ) { $ blnReturn = true ; } return $ blnReturn ; }
Validate this Area and it's children's submitted values

@param string $intCount The dynamic counter
@return boolean True if Area and children are valid, false if not.
Validate this Area and it s children s submitted values