--- a/busui/owa/modules/base/reportOsDetail.php +++ b/busui/owa/modules/base/reportOsDetail.php @@ -1,1 +1,50 @@ - + + * @copyright Copyright © 2006 Peter Adams + * @license http://www.gnu.org/copyleft/gpl.html GPL v2.0 + * @category owa + * @package owa + * @version $Revision$ + * @since owa 1.3.0 + */ + +class owa_reportOsDetailController extends owa_reportController { + + function action() { + + $os = $this->getParam('osType'); + $this->setSubview('base.reportDimensionDetail'); + $this->setTitle('Operating System: ', $os); + $this->set('metrics', 'visits,pageViews'); + //$this->set('dimensions', 'osType'); + $this->set('constraints', 'osType=='.urlencode($os)); + $this->set('sort', 'visits-'); + $this->set('trendChartMetric', 'visits'); + $this->set('trendTitle', 'There were <*= this.d.resultSet.aggregates.visits.formatted_value *> visits for this operating system.'); + //$this->set('gridTitle', 'Top Page Types'); + } +} + +?>