2014-09-05 9 views
0

Zend \ InputFilter \ InputFilterProviderInterface 인터페이스를 구현하는 필드 세트가 있지만 유효성 검사 중에 실패 할 경우 중단 할 요소를 지정할 수 없습니다. 내가 뭔가를 잘못 입력/실종Zend 2 Fieldset InputFilterSpecification 중단시 중단

public function getInputFilterSpecification() 
{ 
    return array(
     'target_id' => array(
      'required' => true, 
      'allow_empty' => true, 
      'continue_if_empty' => true, 
      'break_on_failure' => true, 
      [...] 
     ), 
    ); 
), 

암 :

는 예를 부여하려면?

감사

답변