|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($period, $category, $instances, $pubYrFrom=NULL, $pubYrTo=NULL, $pubYr=NULL) | |
| asDOMDocument () | |
Public Member Functions inherited from COUNTER\ReportBuilder | |
| __toString () | |
Static Public Member Functions | |
| static | build ($array) |
Additional Inherited Members | |
Data Fields inherited from COUNTER\ReportBuilder | |
| const | COUNTER_NAMESPACE = 'http://www.niso.org/schemas/counter' |
Protected Member Functions inherited from COUNTER\ReportBuilder | |
| buildMultiple ($classname, $array) | |
| getAttributeTypes () | |
| getCategories () | |
| getContributorIdentifierTypes () | |
| getDateTypes () | |
| getIdentifierTypes () | |
| getItemDataTypes () | |
| getMetricTypes () | |
| validateOneOf ($object, $className) | |
| validateOneOrMoreOf ($objects, $className) | |
| validatePositiveInteger ($int) | |
| validateString ($string) | |
| validateStrings ($array) | |
| validateZeroOrMoreOf ($objects, $className) | |
| validateZeroOrOneOf ($object, $className) | |
Static Protected Member Functions inherited from COUNTER\ReportBuilder | |
| static | isAssociative ($array) |
COUNTER performance counter class
Definition at line 1711 of file COUNTER.php.
| COUNTER\Metric::__construct | ( | $period, | |
| $category, | |||
| $instances, | |||
$pubYrFrom = NULL, |
|||
$pubYrTo = NULL, |
|||
$pubYr = NULL |
|||
| ) |
Construct the object
| array | $period | COUNTER\DateRange array |
| array | $category | COUNTER\Category array |
| array | $instances | COUNTER\PerformanceCounter array |
| int | pubYrFrom optional | |
| int | pubYrTo optional | |
| int | pubYr optional |
| Exception |
Definition at line 1772 of file COUNTER.php.
References COUNTER\ReportBuilder\getCategories(), COUNTER\ReportBuilder\validateOneOf(), COUNTER\ReportBuilder\validateOneOrMoreOf(), COUNTER\ReportBuilder\validatePositiveInteger(), and COUNTER\ReportBuilder\validateString().
| COUNTER\Metric::asDOMDocument | ( | ) |
Output this object as a DOMDocument
Reimplemented from COUNTER\ReportBuilder.
Definition at line 1818 of file COUNTER.php.
|
static |
Construct the object from an array
| array | $array | Hash of key-values |
| Exception |
Reimplemented from COUNTER\ReportBuilder.
Definition at line 1796 of file COUNTER.php.
References COUNTER\DateRange\build().