class ViewsRulesTestIterable in Views Rules 7
Iterable implementation for testing iterator display.
Hierarchy
- class \ViewsRulesTestIterable implements ViewsRulesIterable
Expanded class hierarchy of ViewsRulesTestIterable
File
- tests/
views_rules_test.module, line 19 - Test implementations for Views Rules.
View source
class ViewsRulesTestIterable implements ViewsRulesIterable {
public $rows = array();
/**
* Evaluates a view row in the loop.
*/
public function evaluateRow(array $data) {
$this->rows[] = $data;
}
public function reset() {
$this->rows = array();
return $this;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ViewsRulesTestIterable:: |
public | property | ||
ViewsRulesTestIterable:: |
public | function |
Evaluates a view row in the loop. Overrides ViewsRulesIterable:: |
|
ViewsRulesTestIterable:: |
public | function |