File modules/cms/action/tag/TagPropAction.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\tag; 3 use cms\action\Method; 4 use cms\action\ProjectAction; 5 use cms\action\RequestParams; 6 use cms\action\TagAction; 7 use cms\model\Folder; 8 use language\Messages; 9 10 class TagPropAction extends TagAction implements Method { 11 12 public function view() { 13 $this->setTemplateVar( 'name', $this->tag->name ); 14 15 } 16 17 public function post() { 18 19 $this->tag->name = $this->request->getRequiredText('name' ); 20 $this->tag->persist(); 21 } 22 }
Download modules/cms/action/tag/TagPropAction.class.php
History Thu, 16 Feb 2023 22:57:35 +0100 Jan Dankert New: More functions (adding, deleting) for tags.