dbMap !== null); } public function getDatabaseMap() { return $this->dbMap; } public function doBuild() { $this->dbMap = Propel::getDatabaseMap('propel'); $tMap = $this->dbMap->addTable('pristupy'); $tMap->setPhpName('Pristupy'); $tMap->setUseIdGenerator(true); $tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::SMALLINT, true, null); $tMap->addColumn('POPIS', 'Popis', 'string', CreoleTypes::VARCHAR, false, 20); $tMap->addColumn('CSS_STYL', 'CssStyl', 'string', CreoleTypes::VARCHAR, false, 20); $tMap->addColumn('LOGIN', 'Login', 'string', CreoleTypes::VARCHAR, false, 20); $tMap->addColumn('HESLO', 'Heslo', 'string', CreoleTypes::VARCHAR, false, 20); $tMap->addColumn('FLTR_ZAK_VS_PREFIX', 'FltrZakVsPrefix', 'int', CreoleTypes::INTEGER, false, null); $tMap->addColumn('FILTR_ZAK_BU_NAZEV', 'FiltrZakBuNazev', 'string', CreoleTypes::VARCHAR, false, 50); } }