示例#1
0
 public function __construct($name, $form)
 {
     parent::__construct($name);
     $this->_form = $form;
 }
示例#2
0
文件: form.php 项目: bizanto/Hooked
 public function addFormField(YFormField $form_field)
 {
     $this[$form_field->getName()] = $form_field;
     return $this;
 }