Changeset 246 for trunk/app/controllers/users_controller.php
- Timestamp:
- 02/22/08 13:58:35 (9 months ago)
- Files:
-
- 1 modified
-
trunk/app/controllers/users_controller.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/controllers/users_controller.php
r244 r246 331 331 { 332 332 $this->layout = 'portal'; 333 334 //$this->Group = new Group; 333 335 334 $conditions = array("id"=>'>1', "id"=>"<5"); 336 // old: $this->set('groups', $this->User->Group->generateList($conditions, 'name', null, '{n}.Group.id', '{n}.Group.name'));337 335 338 336 $this->set('groups', Set::combine($this->User->Group->find('all'), "{n}.Group.id","{n}.Group.name")); 339 //$this->set('Element', $this->Portal->statics()); // Using Portal component 337 //$this->set('Element', $this->Portal->statics()); // Using Portal components 340 338 341 339 }
