itemId = $itemId; } if (isset ($input ['label']) && trim ($input ['label']) != '') $this->label = translate ($input ['label']); else $this->label = __ ('Delete'); if (isset ($input ['image']) && trim ($input ['image']) != '') $this->image = $input ['image']; else $this->image = 'delete.png'; } public function getMenuItem () { global $form; if (!is_object ($form)) return ''; return '
  • '. $this->label .''. $this->label .'
  • '; } public function getSubmenuItem () { global $form; if (!is_object ($form)) return ''; return '
  • '. $this->label .'
  • '; } } ?>