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