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('node_home'); $tMap->setPhpName('NodeHome'); $tMap->setUseIdGenerator(true); $tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null); $tMap->addForeignKey('NODE_ID', 'NodeId', 'int', CreoleTypes::INTEGER, 'node', 'ID', false, null); $tMap->addColumn('EDITO_TITLE', 'EditoTitle', 'string', CreoleTypes::VARCHAR, false, 255); $tMap->addColumn('EDITO_CONTENT', 'EditoContent', 'string', CreoleTypes::LONGVARCHAR, false, null); } // doBuild() } // NodeHomeMapBuilder