public function __construct() { parent::__construct(); $this->setAttributes(array('name' => 'photos[]', 'type' => 'file', 'multiple' => 'multiple')); }
public function __construct() { parent::__construct(); $this->setAttributes(array('name' => 'image', 'type' => 'file')); }