gyro/modules/console/controller/base/consolepagedata.cls.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * A console implementation of page data 00004 * 00005 * Sets ConsoleRenderDecorator as default render decorator and 00006 * switches page template to console's. 00007 * 00008 * @author Gerd Riesselmann 00009 * @ingroup Console 00010 */ 00011 class ConsolePageData extends PageData { 00012 /** 00013 * Constructor 00014 * 00015 * @param ICacheManager $cache_manager 00016 * @param array $get Usually $_GET 00017 * @param array $post Usually $_POST 00018 */ 00019 public function __construct($cache_manager, $get, $post) { 00020 parent::__construct($cache_manager, $get, $post); 00021 $this->page_template = 'console/page'; 00022 $this->add_render_decorator_class('ConsoleRenderDecorator'); 00023 } 00024 }