コード例 #1
0
 public function init()
 {
     if ($this->id == null) {
         $this->id = 'form' . ZUniqueIdGenerator::next();
     }
     parent::init();
 }
コード例 #2
0
 public function init()
 {
     $this->valueBindScope = Contexts::instance()->getVariableContext($this->valueBind);
     $form = $this->getFormParent();
     $form->registerElement($this);
     $this->bindPropertyToAttribute('id');
     parent::init();
 }
コード例 #3
0
 protected function init()
 {
     // TODO
     if (!$this->isRootElement() && false) {
         throw new ZElementException('Root tag must be realy root element.');
     }
     parent::init();
     $this->meta->name = 'html';
 }
コード例 #4
0
 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';
 }
コード例 #5
0
 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();
     }
 }
コード例 #6
0
 public function init()
 {
     parent::init();
     $this->meta->children[] = array(0 => 'menuitem', 1 => array('value' => '#{' . $this->itemValue . '}', 'label' => '#{' . $this->itemLabel . '}'));
 }
コード例 #7
0
 public function init()
 {
     parent::init();
 }