public function __construct($name, $label, $options = array()) { parent::__construct($name, $options); if (isset($options['template'])) { $this->template = $options['template']; } $this->label = $label; }
public function setDataNormed($value) { foreach ($this->children as $child) { if (isset($value[$child->name])) { $child->setDataNormed($value[$child->name]); } } parent::setDataNormed($value); }
function bind(&$nvps) { $this->checkFieldMarkers(&$nvps); return parent::bind(&$nvps); }