File modules/cms/action/taglist/TaglistEditAction.class.php

Last commit: Thu Feb 16 22:57:35 2023 +0100	Jan Dankert	New: More functions (adding, deleting) for tags.
1 <?php 2 namespace cms\action\taglist; 3 use cms\action\Method; 4 use cms\action\TaglistAction; 5 use cms\model\Permission; 6 use cms\model\Folder; 7 8 class TaglistEditAction extends TaglistAction implements Method { 9 10 /** 11 * Get a listing of all tags in the project 12 * 13 * @return void 14 */ 15 public function view() { 16 17 $this->setTemplateVar('tags',$this->project->getTags() ); 18 19 // is the user allowed to add tags? 20 $rootFolder = new Folder( $this->project->getRootObjectId() ); 21 $this->setTemplateVar('add' ,$rootFolder->hasRight(Permission::ACL_PROP) ); 22 } 23 24 25 public function post() { 26 } 27 28 }
Download modules/cms/action/taglist/TaglistEditAction.class.php
History Thu, 16 Feb 2023 22:57:35 +0100 Jan Dankert New: More functions (adding, deleting) for tags.