示例#1
0
 public function __construct($name, $label, $options = array())
 {
     parent::__construct($name, $options);
     if (isset($options['template'])) {
         $this->template = $options['template'];
     }
     $this->label = $label;
 }
示例#2
0
文件: Form.php 项目: ebuildy/ebuildy
 public function setDataNormed($value)
 {
     foreach ($this->children as $child) {
         if (isset($value[$child->name])) {
             $child->setDataNormed($value[$child->name]);
         }
     }
     parent::setDataNormed($value);
 }
示例#3
0
 function bind(&$nvps)
 {
     $this->checkFieldMarkers(&$nvps);
     return parent::bind(&$nvps);
 }