Example #1
0
 /**
  * Render the entire table
  * 
  * @param \Studiow\Table\Table $table
  * @return \Studiow\HTML\Element
  */
 public function table(Table $table)
 {
     $content = $table->getHeaderHTML() . $table->getBodyHTML();
     return new Element('table', $content, (array) $table->getAttributes());
 }