/** * Do the work of running a report and assigning the results to the view */ private function runReport() { unset($this->view->menuItems); $instance = new InstanceModel(array('instanceID' => $this->_getParam('instance'), 'depth' => 'response')); $model = new ModelModel(array('modelID' => $this->_getParam('id'), 'depth' => 'response', 'instance' => $instance)); $this->view->failures = $model->compare(array('additional_information' => $this->_getParam('addlInfo') ? true : false, 'model_pass' => $this->_getParam('passing') ? true : false)); }