diff options
Diffstat (limited to 'application/controllers/ConfigController.php')
-rw-r--r-- | application/controllers/ConfigController.php | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/application/controllers/ConfigController.php b/application/controllers/ConfigController.php new file mode 100644 index 0000000..0c8a825 --- /dev/null +++ b/application/controllers/ConfigController.php @@ -0,0 +1,47 @@ +<?php + +class ConfigController extends Zend_Controller_Action +{ + + public function init() + { + /* Initialize action controller here */ + + } + + public function indexAction() + { + $form = new Application_Form_Login(); + $request = $this->getRequest(); + if ($request->isPost()) { + if ($form->isValid($request->getPost())) { + // do something here to log in + } + } + $this->view->form = $form; + } + + public function addclientAction() + { + // action body + } + + public function editclientAction() + { + // action body + } + + public function deleteclientAction() + { + // action body + } + + +} + + + + + + + |