src/snac/server/validation/validators/HasOperationValidator.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 ($this->hasOperationValue($constellation->getOperation())) {
            $this->hasOperation = true;
            return true;
        }
        return false;
    }
public function validateRoot ( $ constellation ) { if ( $ this -> hasOperationValue ( $ constellation -> getOperation ( ) ) ) { $ this -> hasOperation = true ; return true ; } return false ; }
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
// Test that the operation has a value // If the operation has a value, then set that we have seen at least one // operation during this scan.