/apps/timeline/extend/AppGui.php

http://zoop.googlecode.com/ · PHP · 13 lines · 10 code · 3 blank · 0 comment · 0 complexity · 0268fa999897a0c39ad5266bde9799be MD5 · raw file

  1. <?php
  2. class AppGui extends Gui
  3. {
  4. public $layout;
  5. function fetch($tpl_file, $cache_id = null, $compile_id = null, $display = false)
  6. {
  7. $this->assign("TEMPLATE_CONTENT", $tpl_file);
  8. return parent::fetch("layouts/{$this->layout}.tpl", $cache_id, $compile_id, $display);
  9. }
  10. }