Constructor
object EasyRdf_Parser_Redland
public function __construct() {
if (extension_loaded('redland')) {
$this->world = librdf_php_get_world();
if (!$this->world) {
throw new EasyRdf_Exception("Failed to initialise librdf world.");
}
}
else {
throw new EasyRdf_Exception("Redland PHP extension is not available.");
}
}