Exemple #1
0
 /**
  * Parse the form
  */
 protected function parse()
 {
     parent::parse();
     // assign the data
     $this->tpl->assign('item', $this->record);
     // is brand allowed to be deleted?
     if (BackendCatalogModel::isBrandAllowedToBeDeleted($this->id)) {
         $this->tpl->assign('showDelete', true);
     }
 }