dbMap !== null); } /** * Gets the databasemap this map builder built. * * @return the databasemap */ public function getDatabaseMap() { return $this->dbMap; } /** * The doBuild() method builds the DatabaseMap * * @return void * @throws PropelException */ public function doBuild() { $this->dbMap = Propel::getDatabaseMap('propel'); $tMap = $this->dbMap->addTable('st_allegro_api_offer'); $tMap->setPhpName('AllegroApiOffer'); $tMap->addPrimaryKey('ID', 'Id', 'string', CreoleTypes::CHAR, true, 38); $tMap->addColumn('NAME', 'Name', 'string', CreoleTypes::VARCHAR, true, 255); } // doBuild() }