Example #1
0
 /**
  * Actions render
  *
  * @param string $template Action template name
  *
  * @return string
  */
 public function render($template)
 {
     $actions = $this->getActions();
     $this->flushActions();
     return $this->table->getRender()->getTwig()->render($template, ['actions' => $actions]);
 }
Example #2
0
 /**
  * Render js test
  */
 public function testRenderJs()
 {
     $table = new Table();
     $this->assertNotContains('</table>', $table->getRender()->renderJs());
 }