Example #1
0
 /**
  * @see	JDeveloperCreate
  */
 protected function initialize()
 {
     $model = $this->getModel("Forms");
     $model->setState("parent_id", $this->item->id);
     $children = $model->getItems();
     $this->template->addPlaceholders(array("form" => $this->getXML($this->item->id)));
     return parent::initialize();
 }
Example #2
0
 /**
  * @see	JDeveloperCreate
  */
 protected function initialize()
 {
     $this->template->addAreas(array("filter" => (bool) $this->item->filter, "validation" => (bool) $this->item->validation, "disabled" => (bool) $this->item->disabled, "readonly" => (bool) $this->item->readonly, "required" => (bool) $this->item->required, "list" => !empty($this->item->options)));
     $this->template->addPlaceholders(array("name" => $this->item->name, "tag" => $this->item->tag, "type" => $this->item->type, "label" => $this->item->label, "description" => $this->item->description, "default" => $this->item->default, "maxlength" => $this->item->maxlength, "class" => $this->item->class, "filter" => $this->item->filter, "validation" => $this->item->validation, "options" => $this->getOptions(), "attributes" => $this->getAttributes()));
     return parent::initialize();
 }
Example #3
0
 /**
  * @see	JDeveloperCreate
  */
 protected function initialize()
 {
     $this->template->addPlaceholders(array("name" => $this->item->name, "description" => $this->item->description));
     return parent::initialize();
 }