21 public function _getId()
23 return isset($_REQUEST[
'imgcat_id']) ? xoops_getrequest(
'imgcat_id') : 0;
26 public function &_getHandler()
28 $handler =& xoops_getmodulehandler(
'imagecategory');
32 public function _setupActionForm()
35 $this->mActionForm->prepare();
38 public function executeViewInput(&$controller, &$xoopsUser, &$render)
40 $render->setTemplateName(
'imagecategory_delete.html');
41 $render->setAttribute(
'actionForm', $this->mActionForm);
42 $render->setAttribute(
'object', $this->mObject);
45 public function executeViewSuccess(&$controller, &$xoopsUser, &$render)
47 $controller->executeForward(
'./index.php?action=ImagecategoryList');
50 public function executeViewError(&$controller, &$xoopsUser, &$render)
52 $controller->executeRedirect(
'./index.php?action=ImagecategoryList', 1, _MD_LEGACY_ERROR_DBUPDATE_FAILED);
55 public function executeViewCancel(&$controller, &$xoopsUser, &$render)
57 $controller->executeForward(
'./index.php?action=ImagecategoryList');