From c93ae572abf32262137cce69f1c020e9a5b46d9f Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Thu, 10 Mar 2016 20:35:32 -0500 Subject: Add function CommonModel::common_handleFormSubmissions() This helper func to all implementing MVC controllers is used to check for submission of any web-form defined within a common MVC view file. If detected, the appropriate handler function is called. --- app/controller/dashboard.control.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/controller/dashboard.control.php') diff --git a/app/controller/dashboard.control.php b/app/controller/dashboard.control.php index 4ee4b38..9a279ca 100644 --- a/app/controller/dashboard.control.php +++ b/app/controller/dashboard.control.php @@ -14,6 +14,7 @@ class Dashboard extends Controller function handle($argv) { $mod = new DashboardModel(); + $mod->common_handleFormSubmissions($_REQUEST['input']); $this->action_default($mod); } -- cgit v1.2.3