File modules/cms/action/project/ProjectInfoAction.class.php

Last commit: Tue Nov 17 23:51:00 2020 +0100	Jan Dankert	Refactoring: Every Actionmethod has now its own class.
1 <?php 2 namespace cms\action\project; 3 use cms\action\Method; 4 use cms\action\ProjectAction; 5 6 class ProjectInfoAction extends ProjectAction implements Method { 7 8 public function view() { 9 $this->setTemplateVar( 'info', $this->project->info() ); 10 $this->setTemplateVar( 'name', $this->project->name ); 11 $this->setTemplateVar( 'url' , $this->makeAbsoluteHostnameLink($this->project->url) ); 12 } 13 14 public function post() { 15 } 16 }
Download modules/cms/action/project/ProjectInfoAction.class.php
History Tue, 17 Nov 2020 23:51:00 +0100 Jan Dankert Refactoring: Every Actionmethod has now its own class.