blob: 0c8a8255fa16457ac9f1126ecb0f5e8f20e36023 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
}
}
|