Same name and namespace in other branches
- 6.x-3.x includes/view.inc \view::__construct()
Standard PHP constructor.
File
- includes/
view.inc, line 300 - views_objects Objects that represent a View or part of a view
Class
Code
public function __construct() {
parent::init();
// Make sure all of the sub objects are arrays.
foreach ($this
->db_objects() as $object) {
$this->{$object} = array();
}
}