src/snac/server/validation/validators/HasOperationValidator.php
/**
     * Check whether an operation has a valid value
     *
     * Checks the parameter to ensure that it is a legal operation and not null
     *
     * @param string $operation The operation to test
     * @return boolean true if valid, false otherwise
     */
Check whether an operation has a valid value
Checks the parameter to ensure that it is a legal operation and not null

@param string $operation The operation to test
@return boolean true if valid, false otherwise
Check whether an operation has a valid value Checks the parameter to ensure that it is a legal operation and not null @param string $operation The operation to test @return boolean true if valid false otherwise
private function hasOperationValue($operation) {
        if ($operation == \snac\data\AbstractData::$OPERATION_DELETE ||
                $operation == \snac\data\AbstractData::$OPERATION_INSERT ||
                $operation == \snac\data\AbstractData::$OPERATION_UPDATE)
            return true;
        return false;
    }
private function hasOperationValue ( $ operation ) { if ( $ operation == \ snac \ data \ AbstractData :: $ OPERATION_DELETE || $ operation == \ snac \ data \ AbstractData :: $ OPERATION_INSERT || $ operation == \ snac \ data \ AbstractData :: $ OPERATION_UPDATE ) return true ; return false ; }
Check whether an operation has a valid value
 Checks the parameter to ensure that it is a legal operation and not null
Check whether an operation has a valid value Checks the parameter to ensure that it is a legal operation and not null