src/snac/server/validation/validators/IDValidator.php
/**
     * Validate all SCMetadata
     *
     * Loops over each SCM 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 SCM validate, false otherwise
     */
Validate all SCMetadata
Loops over each SCM of an object, and validates it individually


Validate all SCMetadata Loops over each SCM of an object and validates it individually
private function validateAllSCM($object, $realObject) {
        $success = true;
        foreach ($object->getSNACControlMetadata() as $scm) {
            $success = $success && $this->validateSNACControlMetadata($scm, $realObject);
        }
        return $success;
    }
private function validateAllSCM ( $ object , $ realObject ) { $ success = true ; foreach ( $ object -> getSNACControlMetadata ( ) as $ scm ) { $ success = $ success && $ this -> validateSNACControlMetadata ( $ scm , $ realObject ) ; } return $ success ; }
Validate all SCMetadata
 Loops over each SCM of an object, and validates it individually
Validate all SCMetadata Loops over each SCM of an object and validates it individually