Example #1
0
 function __construct()
 {
     $this->_init($this->_TABLE_NAME);
     $this->_dbServer = DB_SERVER;
     $this->_dbName = DB_NAME;
     $this->_username = DB_USERNAME;
     $this->_password = DB_PASSWORD;
     self::$logger = LoggerFactory::getInstance(get_class());
 }
Example #2
0
 /**
  * Initialize complex static variables
  * @static
  */
 public static function staticInit()
 {
     self::$logger = Logger::getLogger(__CLASS__);
     self::$defaultPlanningOptions = array('displayExtRef' => 0);
     self::$defaultPlanningOptionsDesc = array('displayExtRef' => 'Display ExtRef instead of mantis_id');
 }