Example #1
0
 /**
  * @expectedException           Exception
  * @expectedExceptionMessage    invalid tag signature
  */
 public function testSignatureException()
 {
     HTML::html('content', 'content');
 }
Example #2
0
 public function render()
 {
     return '<!DOCTYPE html>' . HTML::html($this->template->head($this->renderHead()) . HTML::body(HTML::div(['#main'], HTML::div(['#wrapper'], HTML::div(['#header'], $this->template->header($this->renderHeader())) . HTML::div(['#middle'], $this->template->content($this->renderContent())) . HTML::div(['#footer'], $this->template->footer($this->renderFooter()))))));
 }