From 0d53041fc67e13fc53cca0c993ec1a7a31a5a16e Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sun, 15 Jan 2017 05:57:19 -0500 Subject: Reorganize examples/ directory --- examples/controller/deleteacct.control.php | 58 ++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 examples/controller/deleteacct.control.php (limited to 'examples/controller/deleteacct.control.php') diff --git a/examples/controller/deleteacct.control.php b/examples/controller/deleteacct.control.php new file mode 100644 index 0000000..5dc91b5 --- /dev/null +++ b/examples/controller/deleteacct.control.php @@ -0,0 +1,58 @@ +action_delete($mod); + break; + + default: + $this->action_default($mod); + break; + } + } + + function action_default($mod) + { + $mod->deflt(); + include "view/deleteacct/default.view.php"; + } + + function action_delete($mod) + { + $mod->del($_REQUEST['input']); + $this->action_default($mod); + } +} + +?> -- cgit v1.2.3