public static function retrieveByPK($pk, PropelPDO $con = null) { if (isset($cache[$pk])) { return $cache[$pk]; } else { return $cache[$pk] = parent::retrieveByPK($pk, $con); } }
/** * Clear the instance pool. * * @return void */ public static function clearInstancePool() { self::$instances = array(); }