コード例 #1
0
 public function __construct(Template $template)
 {
     parent::__construct($template);
     if ($this->template->outputFormat == 'html') {
         $this->template->setFilename('backend');
     }
 }
コード例 #2
0
 public function __construct(Template $template)
 {
     parent::__construct($template);
     $this->template->setFilename('search');
     $this->template->blocks['left'][] = new Block('reports/list.inc');
     $this->template->blocks['left'][] = new Block('reports/searchForm.inc');
 }
コード例 #3
0
 public function __construct(Template $template)
 {
     parent::__construct($template);
     $this->return_url = !empty($_REQUEST['return_url']) ? $_REQUEST['return_url'] : BASE_URL;
 }
コード例 #4
0
 public function __construct(Template $template)
 {
     parent::__construct($template);
     $this->template->setFilename('backend');
 }
コード例 #5
0
 public function __construct(Template $template)
 {
     parent::__construct($template);
     $this->template->setFilename('open311');
     $this->person = isset($_SESSION['USER']) ? $_SESSION['USER'] : '******';
 }