/** * Get all elements of header rows * * @return array */ public function getHeaders() { $ret = null; if ($this->_thead instanceof HtmlElement) { $ret = $this->_thead->getElements(); } return $ret; }