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_language_translation'); $tMap->setPhpName('LanguageTranslation'); $tMap->addPrimaryKey('CATALOGUE', 'Catalogue', 'string', CreoleTypes::VARCHAR, true, 255); $tMap->addPrimaryKey('INDEX', 'Index', 'string', CreoleTypes::VARCHAR, true, 255); $tMap->addPrimaryKey('LANGUAGE_ID', 'LanguageId', 'int', CreoleTypes::VARCHAR, true); $tMap->addColumn('PHRASE', 'Phrase', 'string', CreoleTypes::VARCHAR, true, 255); $tMap->addColumn('BACKEND_PHRASE', 'BackendPhrase', 'string', CreoleTypes::VARCHAR, true, 255); $tMap->addColumn('DEFAULT_PHRASE_TRANSLATION', 'DefaultPhraseTranslation', 'string', CreoleTypes::VARCHAR, true, 255); $tMap->addColumn('USER_PHRASE_TRANSLATION', 'UserPhraseTranslation', 'string', CreoleTypes::VARCHAR, false, 255); } // doBuild() }