Zend Framework 2, InputFilter validate array of value -


i'm using inputfilter validate data no zend\form.

    $entities = new input('entities');     $entities->setrequired(false);     return $entities; 

entities collection of entity.

i don't know how check entities valid array , each value of entities valid entity.

if entity 1 dimension array, use arrayinput. if multi-dimension array, means collection of array, use collectioninputfilter.


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -