File modules/cms/action/group/GroupListingAction.class.php
Last commit: Sat Oct 17 02:16:28 2026 +0200 Jan Dankert Refactoring: Removed empty view() and post() methods; OpenAPI cleanup, removed these unused paths.
1 <?php 2 namespace cms\action\group; 3 use cms\action\GroupAction; 4 use cms\action\Method; 5 use cms\model\Group; 6 7 class GroupListingAction extends GroupAction implements Method { 8 public function view() { 9 $list = array(); 10 11 foreach( Group::getAll() as $id=>$name ) 12 { 13 $list[$id] = array(); 14 $list[$id]['name'] = $name; 15 } 16 17 $this->setTemplateVar('el', $list); 18 } 19 20 21 22 }
Downloadmodules/cms/action/group/GroupListingAction.class.php
History Sat, 17 Oct 2026 02:16:28 +0200 Jan Dankert Refactoring: Removed empty view() and post() methods; OpenAPI cleanup, removed these unused paths. Tue, 17 Nov 2020 23:51:00 +0100 Jan Dankert Refactoring: Every Actionmethod has now its own class.