class QPTableData in QueryPath 6
Same name and namespace in other branches
- 7.3 QueryPath/Extension/QPList.php \QPTableData
- 7.2 QueryPath/Extension/QPList.php \QPTableData
Hierarchy
- class \QPTableData implements \IteratorAggregate, TableAble
Expanded class hierarchy of QPTableData
File
- QueryPath/
Extension/ QPList.php, line 115
View source
class QPTableData implements TableAble, IteratorAggregate {
protected $headers;
protected $rows;
protected $caption;
protected $p = -1;
public function setHeaders($array) {
$this->headers = $array;
return $this;
}
public function getHeaders() {
return $this->headers;
}
public function setRows($array) {
$this->rows = $array;
return $this;
}
public function getRows() {
return $this->rows;
}
public function size() {
return count($this->rows);
}
public function getIterator() {
return new ArrayIterator($rows);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
QPTableData:: |
protected | property | ||
QPTableData:: |
protected | property | ||
QPTableData:: |
protected | property | ||
QPTableData:: |
protected | property | ||
QPTableData:: |
public | function |
Overrides TableAble:: |
|
QPTableData:: |
public | function | ||
QPTableData:: |
public | function |
Overrides TableAble:: |
|
QPTableData:: |
public | function | 1 | |
QPTableData:: |
public | function | 1 | |
QPTableData:: |
public | function |
Overrides TableAble:: |