/** * Performs the actual rendering of the view. * * @param vB_View $view - The view to render * @return string - The rendering result */ protected function render(vB_View $view) { // Set up the style info $this->bootstrap->force_styleid($this->styleid); $this->bootstrap->load_style(); // Create a template $template = vB_Template::create($view->getResult()); // Register the view data $template->quickRegister($view->getViewData()); // Return the output return $template->render(); }