src/snac/server/validation/validators/IDValidator.php
/**
     * Validate the root of the constellation
     *
     * @param \snac\data\Constellation $constellation constellation root to validate
     * @return boolean true if valid, false otherwise
     */
Validate the root of the constellation
@param \snac\data\Constellation $constellation constellation root to validate
@return boolean true if valid, false otherwise
Validate the root of the constellation @param \ snac \ data \ Constellation $constellation constellation root to validate @return boolean true if valid false otherwise
public function validateRoot($constellation) {
        if ($constellation->getID() != null && $this->constellation == null) {
            $this->addError("The constellation ID does not exist", $constellation);
            return false;
        }
        return true;
    }
public function validateRoot ( $ constellation ) { if ( $ constellation -> getID ( ) != null && $ this -> constellation == null ) { $ this -> addError ( " The constellation ID does not exist " , $ constellation ) ; return false ; } return true ; }
Validate the root of the constellation
 @param \snac\data\Constellation $constellation constellation root to validate
 @return boolean true if valid, false otherwise
Validate the root of the constellation @param \ snac \ data \ Constellation $constellation constellation root to validate @return boolean true if valid false otherwise
// Could not get the constellation