public function init() { if ($this->id == null) { $this->id = 'form' . ZUniqueIdGenerator::next(); } parent::init(); }
public function init() { $this->valueBindScope = Contexts::instance()->getVariableContext($this->valueBind); $form = $this->getFormParent(); $form->registerElement($this); $this->bindPropertyToAttribute('id'); parent::init(); }
protected function init() { // TODO if (!$this->isRootElement() && false) { throw new ZElementException('Root tag must be realy root element.'); } parent::init(); $this->meta->name = 'html'; }
protected function init() { // TODO if (!$this->isRootElement() && false) { throw new ZElementException('Root tag must be realy root element.'); } parent::init(); header('Content-type: application/vnd.mozilla.xul+xml; charset: UTF-8'); $this->meta->name = 'window'; }
public function init() { /* * Aspect tag will work if current aspect is the given. */ $this->rendered = $this->aspect->name == $this->name; if ($this->rendered) { parent::init(); } }
public function init() { parent::init(); $this->meta->children[] = array(0 => 'menuitem', 1 => array('value' => '#{' . $this->itemValue . '}', 'label' => '#{' . $this->itemLabel . '}')); }
public function init() { parent::init(); }