public function init()
    {
        $this->setName('users');
        $this->setLabel('Users');
        $this->setAttribute('id', 'users');
        
        
        $this->setTargetElement(
            array(
            'type' => 'hidden',
            'name' => 'user',
            )
        );
        
        $this->setCount(0)
             ->setAllowRemove(true)
             ->setAllowAdd(true)
             ->setShouldCreateTemplate(true);
    }
public function init()
    {
        $this->setName('users');
        $this->setLabel('Users');
        $this->setAttribute('id', 'users');
        
        
        $this->setTargetElement(
            array(
            'type' => 'hidden',
            'name' => 'user',
            )
        );
        
        $this->setCount(0)
             ->setAllowRemove(true)
             ->setAllowAdd(true)
             ->setShouldCreateTemplate(true);
    }
public function init ( ) { $ this -> setName ( 'users' ) ; $ this -> setLabel ( 'Users' ) ; $ this -> setAttribute ( 'id' , 'users' ) ; $ this -> setTargetElement ( array ( 'type' => 'hidden' , 'name' => 'user' , ) ) ; $ this -> setCount ( 0 ) -> setAllowRemove ( true ) -> setAllowAdd ( true ) -> setShouldCreateTemplate ( true ) ; }
Initialises the collection.
@see \Zend\Form\Element::init()
Initialises the collection .