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