diff options
author | bd54 | 2010-08-30 11:49:18 +0200 |
---|---|---|
committer | bd54 | 2010-08-30 11:49:18 +0200 |
commit | 100572c23d79d2648ef4ac0560007866e5625c65 (patch) | |
tree | 8178c7dac9d7294c1d9f148d6aa10a41d9052c48 /application/controllers/ConfigController.php | |
parent | minor bugfix (diff) | |
download | pbs-master.tar.gz pbs-master.tar.xz pbs-master.zip |
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 + } + + +} + + + + + + + |