Subversion Repositories SmartDukaan

Rev

Rev 15194 | Rev 15227 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15194 Rev 15222
Line 21... Line 21...
21
 * @return void
21
 * @return void
22
 */
22
 */
23
	public function index() {
23
	public function index() {
24
		$this->Acl->recursive = 0;
24
		$this->Acl->recursive = 0;
25
		$this->set('acls', $this->Paginator->paginate());
25
		$this->set('acls', $this->Paginator->paginate());
26
	}
26
	}	
27
 
27
 
28
/**
28
/**
29
 * view method
29
 * view method
30
 *
30
 *
31
 * @throws NotFoundException
31
 * @throws NotFoundException
Line 115... Line 115...
115
	public function admin_index() {
115
	public function admin_index() {
116
		$this->Acl->recursive = 0;
116
		$this->Acl->recursive = 0;
117
		$this->set('permissions', $this->Paginator->paginate());
117
		$this->set('permissions', $this->Paginator->paginate());
118
	}
118
	}
119
 
119
 
-
 
120
	public function admin_group($id) {
-
 
121
		$this->Acl->recursive = 0;
-
 
122
		$options = array('conditions'=>array('group_id'=>$id));
-
 
123
		$this->Paginator->settings = $options;
-
 
124
		$this->set('permissions', $this->Paginator->paginate());
-
 
125
		$this->render('admin_index');
-
 
126
	}
-
 
127
	
120
/**
128
/**
121
 * admin_view method
129
 * admin_view method
122
 *
130
 *
123
 * @throws NotFoundException
131
 * @throws NotFoundException
124
 * @param string $id
132
 * @param string $id