示例#1
0
 /**
  * Add a new table object to the database.
  *
  * @param      \Propel\Runtime\Map\TableMap $table The table to add
  */
 public function addTableObject(TableMap $table)
 {
     $table->setDatabaseMap($this);
     $this->tables[$table->getName()] = $table;
     $this->tablesByPhpName[$table->getClassname()] = $table;
 }