private function __validate()
    {
        $blnReturn = true;

        foreach ($this->__elements as $element) {
            if (! $element->isValid()) {
                $blnReturn = false;
                break;
            }
        }

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

        foreach ($this->__elements as $element) {
            if (! $element->isValid()) {
                $blnReturn = false;
                break;
            }
        }

        return $blnReturn;
    }
private function __validate ( ) { $ blnReturn = true ; foreach ( $ this -> __elements as $ element ) { if ( ! $ element -> isValid ( ) ) { $ blnReturn = false ; break ; } } return $ blnReturn ; }
Loops trough all internal elements in the collection and validates each element.
@return boolean True if all elements are valid, false if not.
Loops trough all internal elements in the collection and validates each element .