OpenSkill\Datatable\Views\DatatableView::html PHP Метод

html() публичный Метод

Will render the table and directly the script after it. This is a shortcut for {@link #table} followed by {@link script}
public html ( ) : string
Результат string Will return the rendered table and the rendered script as string
    public function html()
    {
        return $this->table() . $this->script();
    }

Usage Example

Пример #1
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testInvalidColumsHtml()
 {
     $this->dtv->html();
 }