You are here

public function QPTableTextData::setHeaders in QueryPath 6

Same name and namespace in other branches
  1. 7.3 QueryPath/Extension/QPList.php \QPTableTextData::setHeaders()
  2. 7.2 QueryPath/Extension/QPList.php \QPTableTextData::setHeaders()

Overrides QPTableData::setHeaders

File

QueryPath/Extension/QPList.php, line 134

Class

QPTableTextData

Code

public function setHeaders($array) {
  $headers = array();
  foreach ($array as $header) {
    $headers[] = htmlentities($header);
  }
  parent::setHeaders($headers);
  return $this;
}