Advertisement
Eddz

Untitled

Sep 3rd, 2013
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.69 KB | None | 0 0
  1. // Email
  2.                 array(
  3.                     'spec' => array(
  4.                         'name' => 'email',
  5.                         'type' => 'Zend\Form\Element\Email',
  6.                         'validators' => new NoObjectExistsValidator(array(
  7.                             'object_repository' => $this->repository,
  8.                             'fields' => 'email'
  9.                                 )),
  10.                         'attributes' => array(
  11.                             'required' => 'required'
  12.                         ),
  13.                         'options' => array(
  14.                             'label' => 'Email',
  15.                         ),
  16.                     ),
  17.                 ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement