public static function getPhpNameMap() { if (self::$phpNameMap === null) { $map = BrandPeer::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(); }
public static function doSelect(Criteria $criteria, PropelPDO $con = null) { return parent::doSelect($criteria->addAscendingOrderByColumn(BrandPeer::WEIGHT), $con); }