/** Load view when accessed Use local tool attributes if not found */ function __get($name) { if ($name == 'view') { $this->view = View::primary(); return $this->view; } return $this->lt->{$name}; }