/** * Prepare and display the control panel * dashboard, which is a simplified view * of main analytics results * * @param string $tpl layout name */ private function _makeViewDashboard($tpl) { // get configuration object $sefConfig =& Sh404sefFactory::getConfig(); // push it into to the view $this->assignRef('sefConfig', $sefConfig); // get analytics data using helper, possibly from cache $analyticsData = Sh404sefHelperAnalytics::getData($this->options); // push analytics stats into view $this->assign('analytics', $analyticsData); }