Open Journal Systems
3.3.0
|
Data Structures | |
class | Consortium |
class | Contact |
class | Customer |
class | DateRange |
class | Identifier |
class | ItemAttribute |
class | ItemContributor |
class | ItemContributorId |
class | ItemDate |
class | Metric |
class | ParentItem |
class | PerformanceCounter |
class | Report |
class | ReportBuilder |
class | ReportItems |
class | Reports |
class | Vendor |
COUNTER Reports classes, release 4.1 Represents the COUNTER XSD schema in class form Clinton Graham, University of Pittsburgh Library System, University of Pittsburgh ctgra +1-412-383-1057 2015 University of Pittsburgh ham@ pitt. eduhttp://www.gnu.org/licenses/gpl-2.0.html GPL 2.0 or later 0.3 DESCRIPTION This is a set of classes to represent the Project COUNTER schema ( http://www.projectcounter.org/ ) It is basically an ecapsulation of DOMDocument, with type checking. Construct any object, then cast it as a string to retrieve the XML, or call asDOMDocument() to retrieve the DOM. $report = new COUNTER( 'reportId', 'reportVersion', 'reportName', 'reportTitle', new COUNTER( 'customerId', new COUNTER( 'itemPlatform', 'itemName', 'Journal', array( new COUNTER( new COUNTER(date_create("first day of previous month"), date_create("last day of previous month")), 'Requests', array(new COUNTER('ft_html', 128), new COUNTER('ft_pdf', 129)) ), new COUNTER( new COUNTER(date_create("first day of this month"), date_create("last day of this month")), 'Requests', new COUNTER('other', 121) ) ) ) ), new COUNTER('vendorId') ); print $report;