Example #1
0
 /**
  * initialise config object
  * @return void
  */
 private function createConfig()
 {
     $this->_config =& SPFactory::config();
     /* load basic configuration settings */
     $this->_config->addIniFile('etc.config', true);
     $this->_config->addTable('spdb_config', $this->_section);
     /* initialise interface config setting */
     $this->_mainframe->getBasicCfg();
     /* initialise config */
     $this->_config->init();
 }