Beispiel #1
0
 /**
  * Returns a hash map between property and column name for the given
  * definition $def.
  *
  * The alias map can be used with the query classes. If $prefixTableName is
  * set to false, only the column names are used as alias targets.
  *
  * @param ezcPersistentObjectDefinition $def Definition.
  * @param bool $prefixTableName
  * @return array(string=>string)
  */
 public function generateAliasMap(ezcPersistentObjectDefinition $def, $prefixTableName = true)
 {
     return $this->session->generateAliasMap($def, $prefixTableName);
 }