src/snac/server/validation/validators/IDValidator.php
/**
     * Validate all Dates
     *
     * Loops over each Date of an object, and validates it individually
     *
     * @param \snac\data\AbstractData $object Object to be validated
     * @param \snac\data\AbstractData $realObject The real object to validate against
     * @return boolean true if all dates validate, false otherwise
     */
Validate all Dates
Loops over each Date of an object, and validates it individually


Validate all Dates Loops over each Date of an object and validates it individually
private function validateAllDates($object, $realObject) {
        $success = true;
        foreach ($object->getDateList() as $date) {
            $success = $success && $this->validateDate($date, $realObject);
        }
        return $success;
    }
private function validateAllDates ( $ object , $ realObject ) { $ success = true ; foreach ( $ object -> getDateList ( ) as $ date ) { $ success = $ success && $ this -> validateDate ( $ date , $ realObject ) ; } return $ success ; }
Validate all Dates
 Loops over each Date of an object, and validates it individually
Validate all Dates Loops over each Date of an object and validates it individually