Пример #1
0
 function validate()
 {
     $configFile = new ConfigFileStorage();
     $this->_dbPrefix = $configFile->getValue("db_prefix");
     return true;
 }
Пример #2
0
 /**
  * returns the prefix as configured for this database connection
  *
  * @return A string containing the database prefix
  * @static
  */
 function getPrefix()
 {
     $fileConfig = new ConfigFileStorage();
     $prefix = $fileConfig->getValue("db_prefix");
     return $prefix;
 }