src/snac/server/validation/ValidationEngine.php
/**
     * Add a validator to run in this engine
     *
     * @param validators\Validator $validator the instantiated validator to add
     * @return boolean true if successfully added validator, false otherwise
     */
Add a validator to run in this engine
@param validators\Validator $validator the instantiated validator to add
@return boolean true if successfully added validator, false otherwise
Add a validator to run in this engine @param validators \ Validator $validator the instantiated validator to add @return boolean true if successfully added validator false otherwise
public function addValidator($validator) {
        if ($validator != null && $validator instanceof \snac\server\validation\validators\Validator) {
            array_push($this->validators, $validator);
            return true;
        }
        return false;
    }
public function addValidator ( $ validator ) { if ( $ validator != null && $ validator instanceof \ snac \ server \ validation \ validators \ Validator ) { array_push ( $ this -> validators , $ validator ) ; return true ; } return false ; }
Add a validator to run in this engine
 @param validators\Validator $validator the instantiated validator to add
 @return boolean true if successfully added validator, false otherwise
Add a validator to run in this engine @param validators \ Validator $validator the instantiated validator to add @return boolean true if successfully added validator false otherwise