'radio' ); /** * Get validator * * @return \Zend\Validator\ValidatorInterface */ protected function getValidator() { if (null === $this->validator) { $this->validator = new InArrayValidator(array( 'haystack' => $this->getValueOptionsValues(), 'strict' => false, )); } return $this->validator; } }