public static function getPhpNameMap() { if (self::$phpNameMap === null) { $map = MediaPeer::getTableMap(); $columns = $map->getColumns(); $nameMap = array(); foreach ($columns as $column) { $nameMap[$column->getPhpName()] = $column->getColumnName(); } self::$phpNameMap = $nameMap; } return self::$phpNameMap; }
/** * Clear the instance pool. * * @return void */ public static function clearInstancePool() { self::$instances = array(); }