/** * Render table end * @param Table $table * @return string */ public static function renderTableEnd(Table $table) { echo $table->getElementPrototype()->endTag(); }
public function testElement() { $table = $this->table->getElementPrototype(); $this->assertInstanceOf('Nette\\Utils\\Html', $table); $this->assertEquals('table', $table->getName()); }