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