public function getName($backquoted = false)
{
if ($backquoted) {
return Util::backquote($this->_name);
}
return $this->_name;
}
/** * Test getName & getDbName * * @return void */ public function testGetName() { $table = new Table('table1', 'pma_test'); $this->assertEquals("table1", $table->getName()); $this->assertEquals("`table1`", $table->getName(true)); $this->assertEquals("pma_test", $table->getDbName()); $this->assertEquals("`pma_test`", $table->getDbName(true)); }