summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/ClientController.php
blob: a8d0d3d571a2c95a02eaaed9139b610cd6080cbf (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
48
49
50
51
52
53
<?php

class User_ClientController extends Zend_Controller_Action
{
	private $this->membership;
    public function init()
    {
        /* Initialize action controller here */
           	$membershipMapper = new Application_Model_MembershipMapper();
        	$this->membership = new Application_Model_Membership();
        	$membershipMapper->find($_SESSION['membershipID'],$this->membership);
    }

    public function indexAction()
    {
        // TODO: ACL: is he athorized to see this ?
		
		// Get the Clients which booted with a bootiso of this group
		$groupID = $this->membership->getGroupID();				
		$bootisoMapper = new Application_Model_BootIsoMapper();
		$bootisos = $bootisoMapper->findby('groupID',$groupID);
		
		$sessions
		
		
		
        
    }

    public function addclientAction()
    {
        // action body
    }

    public function removeclientAction()
    {
        // action body
    }

    public function editclientAction()
    {
        // action body
    }


}