function view::__construct

Standard PHP constructor.

File

includes/view.inc, line 314

Class

view
An object to contain all of the data to generate a view.

Code

public function __construct() {
    parent::init();
    // Make sure all of the sub objects are arrays.
    foreach ($this->db_objects() as $object) {
        $this->{$object} = array();
    }
}