/** * @param array $body * * @return $this|Table|Document */ public function body(array $body) { foreach ($body as $rowValues) { $row = $this->body->append('tr'); foreach ($rowValues as $value) { $row->append('td')->append($value); } } return $this; }
/** * @param string $uri * * @return $this|Html */ public function favicon($uri = '/favicon.ico') { $this->head->append('link')->attr(array('href' => $uri, 'rel' => 'shortcut icon', 'type' => 'image/x-icon')); return $this; }