Ejemplo n.º 1
0
 /**
  * Constructor.
  *
  * @param Doozr_Form_Service_Renderer_Interface  $renderer  Renderer instance for rendering this component
  * @param Doozr_Form_Service_Validator_Interface $validator Validator instance for validating this component
  *
  * @author Benjamin Carl <*****@*****.**>
  */
 public function __construct(Doozr_Form_Service_Renderer_Interface $renderer = null, Doozr_Form_Service_Validator_Interface $validator = null)
 {
     $this->setType(Doozr_Form_Service_Constant::COMPONENT_TYPE_FILE);
     // Important call so observer storage ... can be initiated
     parent::__construct($renderer, $validator);
 }
Ejemplo n.º 2
0
 /**
  * Constructor.
  *
  * @param Doozr_Form_Service_Renderer_Interface  $renderer  Renderer instance for rendering this component
  * @param Doozr_Form_Service_Validator_Interface $validator Validator instance for validating this component
  *
  * @author Benjamin Carl <*****@*****.**>
  *
  * @return \Doozr_Form_Service_Component_Hidden
  */
 public function __construct(Doozr_Form_Service_Renderer_Interface $renderer = null, Doozr_Form_Service_Validator_Interface $validator = null)
 {
     $this->setType('hidden');
     parent::__construct($renderer, $validator);
 }