Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($release) | |
_getVendorComponent ($key) | |
createXML ($reportItems) | |
getCode () | |
getErrors () | |
getKeyForFiletype ($filetype) | |
getRelease () | |
getReportItems ($columns=array(), $filters=array(), $orderBy=array(), $range=null) | |
getTitle () | |
getVendorContacts () | |
getVendorId () | |
getVendorLogoUrl () | |
getVendorName () | |
getVendorWebsiteUrl () | |
setError ($error) | |
Data Fields | |
$_errors | |
$_release | |
Protected Member Functions | |
createMetricByMonth ($period, $counters) | |
filterForContext ($filters) | |
A COUNTER report, base class.
Definition at line 33 of file CounterReport.inc.php.
CounterReport::__construct | ( | $release | ) |
CounterReport::_getVendorComponent | ( | $key | ) |
Get the Vendor Componet by key
$key | string |
Definition at line 271 of file CounterReport.inc.php.
References PKPApplication\get(), Application\getContextDAO(), and setError().
Referenced by getVendorContacts(), getVendorId(), getVendorLogoUrl(), getVendorName(), and getVendorWebsiteUrl().
|
protected |
Given a Year-Month period and array of COUNTER\PerformanceCounters, create a COUNTER\Metric
string | $period | Date in Ym format |
array | $counters | COUNTER\PerformanceCounter array |
Definition at line 163 of file CounterReport.inc.php.
References setError().
Referenced by CounterReportAR1\getReportItems(), and CounterReportJR1\getReportItems().
CounterReport::createXML | ( | $reportItems | ) |
Construct a Reports result containing the provided performance metrics
$reportItems | array COUNTER\ReportItem |
Definition at line 186 of file CounterReport.inc.php.
References PKPString\generateUUID(), getCode(), getErrors(), getRelease(), getTitle(), getVendorContacts(), getVendorLogoUrl(), getVendorName(), getVendorWebsiteUrl(), and setError().
|
protected |
Ensure that the $filters do not exceed the current Context
array() | $filters |
Definition at line 143 of file CounterReport.inc.php.
References PKPApplication\get(), and setError().
Referenced by CounterReportAR1\getReportItems(), and CounterReportJR1\getReportItems().
CounterReport::getCode | ( | ) |
Get the report code
Definition at line 72 of file CounterReport.inc.php.
Referenced by createXML().
CounterReport::getErrors | ( | ) |
Get an array of errors
Definition at line 123 of file CounterReport.inc.php.
Referenced by createXML().
CounterReport::getKeyForFiletype | ( | $filetype | ) |
Get the COUNTER metric type for an Statistics file type
$filetype | string |
Definition at line 81 of file CounterReport.inc.php.
Referenced by CounterReportJR1\getReportItems().
CounterReport::getRelease | ( | ) |
Get the COUNTER Release
Definition at line 64 of file CounterReport.inc.php.
References $_release.
Referenced by createXML().
CounterReport::getReportItems | ( | $columns = array() , |
|
$filters = array() , |
|||
$orderBy = array() , |
|||
$range = null |
|||
) |
Reimplemented in CounterReportAR1, and CounterReportJR1.
Definition at line 115 of file CounterReport.inc.php.
CounterReport::getTitle | ( | ) |
Abstract method must be implemented in the child class Get the report title
Reimplemented in CounterReportAR1, and CounterReportJR1.
Definition at line 101 of file CounterReport.inc.php.
Referenced by createXML().
CounterReport::getVendorContacts | ( | ) |
Get the Vendor Contacts
Definition at line 246 of file CounterReport.inc.php.
References _getVendorComponent().
Referenced by createXML().
CounterReport::getVendorId | ( | ) |
Get the Vendor Id
Definition at line 230 of file CounterReport.inc.php.
References _getVendorComponent().
CounterReport::getVendorLogoUrl | ( | ) |
Get the Vendor Contacts
Definition at line 262 of file CounterReport.inc.php.
References _getVendorComponent().
Referenced by createXML().
CounterReport::getVendorName | ( | ) |
Get the Vendor Name
Definition at line 238 of file CounterReport.inc.php.
References _getVendorComponent().
Referenced by createXML().
CounterReport::getVendorWebsiteUrl | ( | ) |
Get the Vendor Website URL
Definition at line 254 of file CounterReport.inc.php.
References _getVendorComponent().
Referenced by createXML().
CounterReport::setError | ( | $error | ) |
Set an errors condition; Proper Exception handling is deferred until the OJS 3.0 Release
$error | Exception |
Definition at line 131 of file CounterReport.inc.php.
Referenced by _getVendorComponent(), createMetricByMonth(), createXML(), filterForContext(), CounterReportAR1\getReportItems(), and CounterReportJR1\getReportItems().
array CounterReport::$_errors |
$_errors An array of accumulated Exceptions
Definition at line 49 of file CounterReport.inc.php.
string CounterReport::$_release |
$_release A COUNTER release number
Definition at line 41 of file CounterReport.inc.php.
Referenced by getRelease().