$out->addHTML( Html::openElement( 'table', [ 'class' => 'TablePager' ] ) ); $out->addHTML( '<thead>' ); $out->addHTML( '<tr>' ); $out->addHTML( '<th>' );
Things like that, just suck
Having a table object(or something)..
$table->openTable(); $table->addHeaderRow( array( 'foo', 'bar, 'baz' ) ); $table->openBody(); $table->addRow( array( 'lol', '1', '2' ) ); $table->addRow( array( 'zing', '3', '4' ) ); $table->closeBody(); $table->closeTable();
Or something, whatever, would be nicer...
Maybe some part of OutputPage or something?