Minahito
minah****@users*****
2006年 2月 2日 (木) 21:04:34 JST
Index: xoops2jp/html/modules/base/admin/forms/ModuleUninstallForm.class.php diff -u /dev/null xoops2jp/html/modules/base/admin/forms/ModuleUninstallForm.class.php:1.1.2.1 --- /dev/null Thu Feb 2 21:04:34 2006 +++ xoops2jp/html/modules/base/admin/forms/ModuleUninstallForm.class.php Thu Feb 2 21:04:34 2006 @@ -0,0 +1,35 @@ +<?php + +require_once XOOPS_ROOT_PATH . "/class/XCube_ActionForm.class.php"; + +class Legacy_ModuleUninstallForm extends XCube_ActionForm +{ + function getTokenName() + { + return "module.legacy.ModuleUninstallForm.TOKEN." . $this->get('dirname'); + } + + function prepare() + { + // + // Set form properties + // + $this->mFormProperties['dirname'] =& new XCube_StringProperty('dirname'); + + // + // Set field properties + // + } + + function load(&$obj) + { + $this->set('dirname', $obj->get('dirname')); + } + + function update(&$obj) + { + $obj->set('dirname', $this->get('dirname')); + } +} + +?>