예제 #1
0
 /**
  * Set translator object for localization
  *
  * @param  \Zend\Translator\Translator|null $translator
  * @return \Zend\Form\Element\File
  */
 public function setTranslator($translator = null)
 {
     $adapter = $this->getTransferAdapter();
     $adapter->setTranslator($translator);
     parent::setTranslator($translator);
     return $this;
 }