mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
GSOC #113 - Coding Conventions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@43827 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
f58d9a92df
commit
ca4fb5188d
@ -81,31 +81,31 @@ class StatisticsAdmin extends LeftAndMain {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function RecentViews() {
|
function RecentViews() {
|
||||||
return Statistics::getRecentViews();
|
return Statistics::get_recent_views();
|
||||||
}
|
}
|
||||||
|
|
||||||
function Trend() {
|
function Trend() {
|
||||||
return Statistics::TrendChart(array('PageView', 'Member', 'SiteTree'), 'day', 'mchart', 'Line', 'red');
|
return Statistics::trend_chart(array('PageView', 'Member', 'SiteTree'), 'day', 'mchart', 'Line', 'red');
|
||||||
}
|
}
|
||||||
|
|
||||||
function BrowserPie() {
|
function BrowserPie() {
|
||||||
return Statistics::BrowserChart();
|
return Statistics::browser_chart();
|
||||||
}
|
}
|
||||||
|
|
||||||
function OSPie() {
|
function OSPie() {
|
||||||
return Statistics::OSChart();
|
return Statistics::os_chart();
|
||||||
}
|
}
|
||||||
|
|
||||||
function UACPie() {
|
function UACPie() {
|
||||||
return Statistics::ActivityChart();
|
return Statistics::activity_chart();
|
||||||
}
|
}
|
||||||
|
|
||||||
function UserTable() {
|
function UserTable() {
|
||||||
return Statistics::UserRecordTable();
|
return Statistics::user_record_table();
|
||||||
}
|
}
|
||||||
|
|
||||||
function ViewTable() {
|
function ViewTable() {
|
||||||
return Statistics::getViews('all');
|
return Statistics::get_views('all');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -124,7 +124,7 @@ class StatisticsAdmin extends LeftAndMain {
|
|||||||
header("Content-Disposition: attachment; filename=viewreport.csv");
|
header("Content-Disposition: attachment; filename=viewreport.csv");
|
||||||
header("Pragma: no-cache");
|
header("Pragma: no-cache");
|
||||||
header("Expires: 0");
|
header("Expires: 0");
|
||||||
echo Statistics::getViewCSV();
|
echo Statistics::get_view_csv();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function usercsv() {
|
public function usercsv() {
|
||||||
@ -132,7 +132,7 @@ class StatisticsAdmin extends LeftAndMain {
|
|||||||
header("Content-Disposition: attachment; filename=userreport.csv");
|
header("Content-Disposition: attachment; filename=userreport.csv");
|
||||||
header("Pragma: no-cache");
|
header("Pragma: no-cache");
|
||||||
header("Expires: 0");
|
header("Expires: 0");
|
||||||
echo Statistics::getUserCSV();
|
echo Statistics::get_user_csv();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user