Example #1
0
 function _getPrimaryTablePrefixed($entity)
 {
     $aTable = SqlBuilder::_getPrimaryTable($entity);
     reset($aTable);
     $tableName = key($aTable);
     $tableAlias = $aTable[$tableName];
     unset($aTable[$tableName]);
     $tableNamePrefixed = $GLOBALS['_MAX']['CONF']['table']['prefix'] . $tableName;
     $aTable[$tableNamePrefixed] = $tableAlias;
     return $aTable;
 }