Пример #1
0
 /**
  * Constructor sets the template filename and the license to the footer
  * @return void
  */
 public function __construct()
 {
     // define as singleton, because only one footer exists
     $this->_API_setObjectIsSingleton(TRUE);
     parent::__construct();
     $this->loadTemplatefile('footer.tpl');
 }
Пример #2
0
 /**
  * Constructor sets the template filename
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     // add empty string by default to parse the template
     $this->addTemplateVar('ATTRIBUTES', ' ');
     // add empty string by default to parse the template
     $this->addTemplateVar('TITLE', ' ');
 }
Пример #3
0
 /**
  * Constructor sets the template filename and the license to the footer
  * @return void
  */
 public function __construct()
 {
     // define as singleton, because only one inclusion exists
     $this->_API_setObjectIsSingleton(TRUE);
     parent::__construct();
     $this->loadTemplatefile('default_js_files.tpl');
     $this->_setDefaultJsFiles();
 }
Пример #4
0
 /**
  * Constructor sets up {@link $db} and runs the
  * functions to create the header. 
  * @global string $area
  * @return void
  */
 public function __construct()
 {
     // global area variable from main.php
     global $area;
     // define as singleton, because only one header exists
     $this->_API_setObjectIsSingleton(TRUE);
     parent::__construct();
     $this->area = $area == 'con_frameheader' ? 'con_editframe' : $area;
     // store db connection object
     $this->db = sf_api('LIB', 'Ado');
     $this->loadTemplatefile('header.tpl');
     $this->_generateProjectSelect();
     $this->_generateLanguageSelect();
     $this->_generateTree();
     $this->_generateMenuArray();
     $this->_generateMenuLayer();
     $this->_setTemplateVariables();
 }
Пример #5
0
 /**
  * Constructor sets the template filename
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->loadTemplatefile('tree.tpl');
 }
Пример #6
0
 public function __construct()
 {
     parent::__construct();
     $this->loadTemplatefile('form_elements.tpl');
 }
Пример #7
0
 /**
  * Constructor sets the template filename
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->loadTemplatefile('backend_area.tpl');
     $this->addTemplateVar('UPDATE_VIEW', $this->lng->get('gen_update_view'));
 }
Пример #8
0
 /**
  * Constructor sets the template filename
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->loadTemplatefile('breadcrumb.tpl');
 }