Ejemplo n.º 1
0
 /**
  * Parse the form
  */
 protected function parse()
 {
     parent::parse();
     // assign id, name
     $this->tpl->assign('id', $this->id);
     $this->tpl->assign('name', $this->record['name']);
     // assign usage-datagrid
     $this->tpl->assign('usage', $this->dgUsage->getNumResults() != 0 ? $this->dgUsage->getContent() : false);
 }