Ejemplo n.º 1
0
 public static function getPhpNameMap()
 {
     if (self::$phpNameMap === null) {
         $map = TaggingPeer::getTableMap();
         $columns = $map->getColumns();
         $nameMap = array();
         foreach ($columns as $column) {
             $nameMap[$column->getPhpName()] = $column->getColumnName();
         }
         self::$phpNameMap = $nameMap;
     }
     return self::$phpNameMap;
 }