protected function getValidator()
    {
        if ($form = $this->owner->getForm()) {
            
            if (($validator = $form->getValidator()) && $validator instanceof Validator) {
                return $validator;
            }
            
        }
    }
protected function getValidator()
    {
        if ($form = $this->owner->getForm()) {
            
            if (($validator = $form->getValidator()) && $validator instanceof Validator) {
                return $validator;
            }
            
        }
    }
protected function getValidator ( ) { if ( $ form = $ this -> owner -> getForm ( ) ) { if ( ( $ validator = $ form -> getValidator ( ) ) && $ validator instanceof Validator ) { return $ validator ; } } }
Answers the validator instance from the associated form.

@return Validator
Answers the validator instance from the associated form .