public function addAttributes(array $attrs) { $this->getElementPrototype('td')->addAttributes($attrs); $this->getElementPrototype('th')->addAttributes($attrs); return $this; }