public function QPTableTextData::setRows in QueryPath 6
Same name and namespace in other branches
- 7.3 QueryPath/Extension/QPList.php \QPTableTextData::setRows()
- 7.2 QueryPath/Extension/QPList.php \QPTableTextData::setRows()
Overrides QPTableData::setRows
File
- QueryPath/
Extension/ QPList.php, line 142
Class
Code
public function setRows($array) {
$count = count($array);
for ($i = 0; $i < $count; ++$i) {
$cols = array();
foreach ($data[$i] as $datum) {
$cols[] = htmlentities($datum);
}
$data[$i] = $cols;
}
parent::setRows($array);
return $this;
}