Beispiel #1
0
 /**
  * Gets information from the database engine about a single table
  *
  * @access private
  */
 function _databaseTableInternals($table)
 {
     if (!AK_ACTIVE_RECORD_CACHE_DATABASE_SCHEMA || ($cache = AkDbSchemaCache::getDbTableInternals($table)) === false) {
         $cache = $this->_db->getColumnDetails($table);
         if (AK_ACTIVE_RECORD_CACHE_DATABASE_SCHEMA) {
             AkDbSchemaCache::setDbTableInternals($table, $cache);
         }
     }
     return $cache;
 }