Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F54897450
D3608.id9331.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
787 B
Referenced Files
None
Subscribers
None
D3608.id9331.diff
View Options
diff --git a/book.php b/book.php
--- a/book.php
+++ b/book.php
@@ -1,5 +1,7 @@
<?php
+use EasyRdf\Graph;
+
class Book {
/**
* OCLC number
@@ -10,7 +12,7 @@
$oclc = (string)(int)$this->OCLC;
$url = 'http://www.worldcat.org/oclc/' . $oclc;
- $rdf = new EasyRdf_Graph($url . '.rdf');
+ $rdf = new Graph($url . '.rdf');
$rdf->load();
$resources = $rdf->resources();
$book = $resources[$url];
diff --git a/composer.json b/composer.json
--- a/composer.json
+++ b/composer.json
@@ -20,7 +20,7 @@
],
"require": {
"php": ">=5.4",
- "easyrdf/easyrdf": "*"
+ "easyrdf/easyrdf": "~1.1.1"
},
"support": {
"issues": "http://devcentral.nasqueron.org/tag/nasqueron_tools/",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 25, 18:43 (4 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4218447
Default Alt Text
D3608.id9331.diff (787 B)
Attached To
Mode
D3608: Upgrade EasyRdf to 1.1.1
Attached
Detach File
Event Timeline
Log In to Comment