public function ResultRow::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/ResultRow.php \Drupal\views\ResultRow::__construct()
Constructs a ResultRow object.
Parameters
array $values: (optional) An array of values to add as properties on the object.
File
- core/
modules/ views/ src/ ResultRow.php, line 42 - Contains \Drupal\views\ResultRow.
Class
- ResultRow
- A class representing a view result row.
Namespace
Drupal\viewsCode
public function __construct(array $values = array()) {
foreach ($values as $key => $value) {
$this->{$key} = $value;
}
}