File modules/cms/action/pageelement/PageelementPreviewAction.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\pageelement; 3 use cms\action\Method; 4 use cms\action\PageelementAction; 5 use cms\generator\Producer; 6 use cms\generator\ValueGenerator; 7 8 class PageelementPreviewAction extends PageelementAction implements Method { 9 public function view() { 10 $valueGenerator = new ValueGenerator( $this->createValueContext( Producer::SCHEME_PREVIEW) ); 11 $this->setTemplateVar('preview' ,$valueGenerator->getCache()->get() ); 12 } 13 14 }
Downloadmodules/cms/action/pageelement/PageelementPreviewAction.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.