[EasyRdf] element index

All elements
a b c d e f g h i j l m n p q r s t u y _
_
top
__construct
Constructor
__construct
Constructor
__construct
Constructor
__construct
Constructor for creating a new decimal literal
__construct
Create a new SPARQL Graph Store client
__construct
Constructor
__construct
Constructor
__construct
Constructor for creating a new literal
__construct
Constructor for creating a new integer literal
__construct
Constructor
__construct
Constructor for creating a new date literal
__construct
Constructor
__construct
Constructor for creating a new boolean literal
__construct
Constructor
__construct
Create a new SPARQL endpoint client
__construct
Create a new SPARQL Result object
__construct
Constructor.
__construct
Constructor for creating a new date literal
__construct
Constructor method. Will create a new HTTP client. Accepts the target URL and optionally configuration array.
__construct
Constructor
__toString
Magic method to return URI of resource when casted to string
__toString
Magic method to return value of the result to string
__toString
Magic method to return URI of resource when casted to string
__toString
Magic method to return URI of the SPARQL endpoint when casted to string
__toString
Magic method to return the value of a boolean when casted to string
__toString
Magic method to return the value as an ISO8601 date string
__toString
Magic method to return the value as an ISO8601 string
__toString
Magic method to return URI of the graph store when casted to string
__toString
Magic method to return the name of the format when casted to string
__toString
Magic method to return the value of a literal when casted to string
a
top
add
EasyRdf_Resource::add() in Resource.php
Add values to for a property of the resource
add
Add data to the graph
addLiteral
Add a literal value as a property of a resource
addLiteral
Add a literal value as a property of the resource
addResource
Add a resource as a property of the resource
addResource
Add a resource as a property of another resource
addType
Add one or more rdf:type properties to the resource
addType
Add one or more rdf:type properties to a resource
all
Get all values for a property of a resource
all
EasyRdf_Resource::all() in Resource.php
Get all values for a property
allLiterals
Get all literal values for a property of the resource
allLiterals
Get all literal values for a property of a resource
allOfType
Get all the resources in the graph of a certain type
allResources
Get all resources for a property of the resource
allResources
Get all resources for a property of a resource
Arc.php
Arc.php in Arc.php
Arc.php
Arc.php in Arc.php
b
top
Boolean.php
Boolean.php in Boolean.php
c
top
camelise
Convert a string into CamelCase
countTriples
Calculates the number of triples in the graph
create
Create a new literal object
Client.php
Client.php in Client.php
Client.php
Client.php in Client.php
d
top
day
Integer representation of the day of the month
decodeChunkedBody
Decode a "chunked" transfer-encoded body and return the decoded text
delete
Delete a graph from the graph store
delete
Delete an existing RDF type mapping.
delete
Delete an existing namespace.
delete
Delete a property (or optionally just a specific value)
delete
Delete a property (or optionally just a specific value)
deleteDatatypeMapping
Remove the mapping between an RDF datatype and a PHP class name
dump
Return a human readable view of all the resources in the graph
dump
EasyRdf_Resource::dump() in Resource.php
Return a human readable view of the resource and its properties
dump
Return a human readable view of the query result.
dumpLiteralValue
Return pretty-print view of a literal
dumpResource
Return a human readable view of the resource and its properties
dumpResourceValue
Return pretty-print view of a resource URI
dumpValue
Return pretty-print view of the literal
dumpValue
Return pretty-print view of the resource
Date.php
Date.php in Date.php
DateTime.php
DateTime.php in DateTime.php
Decimal.php
Decimal.php in Decimal.php
e
top
Exception.php
Exception.php in Exception.php
EasyRdf.php
EasyRdf.php in EasyRdf.php
EasyRdf_Exception
EasyRdf_Exception in Exception.php
EasyRdf Exception class
EasyRdf_Format
EasyRdf_Format in Format.php
Class the represents an RDF file format.
EasyRdf_Graph
EasyRdf_Graph in Graph.php
Container for collection of EasyRdf_Resources.
EasyRdf_GraphStore
EasyRdf_GraphStore in GraphStore.php
A class for fetching, saving and deleting graphs to a Graph Store.
EasyRdf_Http
EasyRdf_Http in Http.php
Static class to set the HTTP client used by EasyRdf
EasyRdf_Http_Client
EasyRdf_Http_Client in Client.php
This class is an implemetation of an HTTP client in PHP.
EasyRdf_Http_Response
EasyRdf_Http_Response in Response.php
Class that represents an HTTP 1.0 / 1.1 response message.
EasyRdf_Literal
EasyRdf_Literal in Literal.php
Class that represents an RDF Literal
EasyRdf_Literal_Boolean
Class that represents an RDF Literal of datatype xsd:boolean
EasyRdf_Literal_Date
Class that represents an RDF Literal of datatype xsd:date
EasyRdf_Literal_DateTime
EasyRdf_Literal_DateTime in DateTime.php
Class that represents an RDF Literal of datatype xsd:dateTime
EasyRdf_Literal_Decimal
Class that represents an RDF Literal of datatype xsd:decimal
EasyRdf_Literal_Integer
Class that represents an RDF Literal of datatype xsd:integer
EasyRdf_Namespace
EasyRdf_Namespace in Namespace.php
A namespace registry and manipulation class.
EasyRdf_Parser
EasyRdf_Parser in Parser.php
Parent class for the EasyRdf parsers
EasyRdf_Parser_Arc
Class to parse RDF using the ARC2 library.
EasyRdf_Parser_Json
A pure-php class to parse RDF/JSON with no dependancies.
EasyRdf_Parser_Ntriples
EasyRdf_Parser_Ntriples in Ntriples.php
A pure-php class to parse N-Triples with no dependancies.
EasyRdf_Parser_Rapper
EasyRdf_Parser_Rapper in Rapper.php
Class to parse RDF using the 'rapper' command line tool.
EasyRdf_Parser_RdfPhp
EasyRdf_Parser_RdfPhp in RdfPhp.php
Class to parse RDF with no external dependancies.
EasyRdf_Parser_RdfXml
EasyRdf_Parser_RdfXml in RdfXml.php
A pure-php class to parse RDF/XML.
EasyRdf_Parser_Redland
EasyRdf_Parser_Redland in Redland.php
Class to parse RDF using Redland (librdf) C library.
EasyRdf_Resource
EasyRdf_Resource in Resource.php
Class that represents an RDF resource
EasyRdf_Serialiser
EasyRdf_Serialiser in Serialiser.php
Parent class for the EasyRdf serialiser
EasyRdf_Serialiser_Arc
Class to serialise RDF using the ARC2 library.
EasyRdf_Serialiser_Json
Class to serialise an EasyRdf_Graph to RDF/JSON with no external dependancies.
EasyRdf_Serialiser_Ntriples
Class to serialise an EasyRdf_Graph to N-Triples with no external dependancies.
EasyRdf_Serialiser_Rapper
Class to serialise an EasyRdf_Graph to RDF using the 'rapper' command line tool.
EasyRdf_Serialiser_RdfPhp
Class to serialise an EasyRdf_Graph to RDF/PHP with no external dependancies.
EasyRdf_Serialiser_RdfXml
Class to serialise an EasyRdf_Graph to RDF/XML with no external dependancies.
EasyRdf_Serialiser_Turtle
Class to serialise an EasyRdf_Graph to Turtle with no external dependancies.
EasyRdf_Sparql_Client
EasyRdf_Sparql_Client in Client.php
Class for making SPARQL queries using the SPARQL 1.1 Protocol
EasyRdf_Sparql_Result
EasyRdf_Sparql_Result in Result.php
Class for returned for SPARQL SELECT and ASK query responses.
EasyRdf_TypeMapper
EasyRdf_TypeMapper in TypeMapper.php
Class to map between RDF Types and PHP Classes
EasyRdf_Utils
EasyRdf_Utils in Utils.php
Class containing static utility functions
expand
Expand a shortened URI (qname) back into a full URI.
f
top
Format.php
Format.php in Format.php
format
Returns date formatted according to given format
formatExists
Check if a named graph exists
fromString
Create an EasyRdf_Http_Response object from a HTTP response string
g
top
Graph.php
Graph.php in Graph.php
GraphStore.php
GraphStore.php in GraphStore.php
get
EasyRdf_GraphStore::get() in GraphStore.php
Fetch a named graph from the graph store
get
Get a single value for a property of a resource
get
EasyRdf_TypeMapper::get() in TypeMapper.php
Get the registered class for an RDF type
get
EasyRdf_Resource::get() in Resource.php
Get a single value for a property
get
EasyRdf_Namespace::get() in Namespace.php
Return a namespace given its prefix.
getBody
Get the response body as string
getBoolean
Return the boolean value of the query result
getDatatype
Returns the shortened datatype URI of the literal.
getDatatypeForValue
Get datatype URI for a PHP value.
getDatatypeUri
Returns the full datatype URI of the literal.
getDefaultHttpClient
Get the HTTP Client object used to fetch RDF data
getDefaultMimeType
Get the default registered mime type for a format object
getFields
Get the field names in a query result of type bindings.
getFormat
Get a EasyRdf_Format from a name, uri or mime type
getFormats
Get a list of all the registsed formats
getHeader
Get the value of a specific header
getHeader
Get a specific header as string, or null if it is not set
getHeaders
Get the response headers
getHttpAcceptHeader
Generates an HTTP Accept header string
getLabel
Get the label for a format object
getLang
Returns the language of the literal.
getLiteral
Get a single literal value for a property of the resource
getLiteral
Get a single literal value for a property of a resource
getMessage
Return a message describing the HTTP response code (Eg. "OK", "Not Found", "Moved Permanently")
getMethod
Get the method for the next request
getMimeTypes
Get all the registered mime types for a format object
getName
Get the name of a format object
getNames
Get a list of format names
getNodeId
Get the identifier for a blank node
getParameterGet
Get a GET parameter for the request.
getParametersGet
Get all the GET parameters
getParserClass
Get the name of the class to use to parse the format
getRawData
Get the raw (already encoded) POST data.
getRedirectionsCount
Get the number of redirections done on the last request
getResource
Get a single resource value for a property of a resource
getResource
Get a single resource value for a property of the resource
getSerialiserClass
Get the name of the class to use to serialise the format
getStatus
Get the HTTP response status code
getType
Get the query result type (boolean/bindings)
getUri
Get the URI of the graph
getUri
Get the URI of the SPARQL endpoint
getUri
Get the URI for the next request
getUri
Returns the URI for the resource.
getUri
Get the URI of the graph store
getUri
Get the URI for a format object
getValue
Returns the value of the literal.
getVersion
Get the HTTP version of the response
guessFormat
Attempt to guess the document format from some content.
h
top
Http.php
Http.php in Http.php
hasProperty
Check to see if a property exists for this resource.
hasProperty
Check to see if a property exists for a resource.
hour
24-hour format of the hour as an integer
i
top
Integer.php
Integer.php in Integer.php
insert
Add data to a graph in the graph store
isBnode
Check to see if a resource is a blank node.
isEmpty
Check if the graph contains any statements
isError
Check whether the response is an error
isFalse
Return true if the value of the literal is false
isFalse
Return false if the result of the query was false.
isRedirect
Check whether the response is a redirection
isSuccessful
Check whether the response in successful
isTrue
Return true if the result of the query was true.
isTrue
Return true if the value of the literal is true
is_a
EasyRdf_Resource::is_a() in Resource.php
Check if a resource is of the specified type
is_a
Check if a resource is of the specified type
is_associative_array
Check if something is an associative array
j
top
Json.php
Json.php in Json.php
Json.php
Json.php in Json.php
join
EasyRdf_Resource::join() in Resource.php
Concatenate all values for a property into a string.
join
Concatenate all values for a property of a resource into a string.
l
top
Literal.php
Literal.php in Literal.php
label
Get a human readable label for this resource
label
Get a human readable label for a resource
LIBRDF_PARSER_FEATURE_ERROR_COUNT
Parser feature URI string for getting the error count of last parse.
load
Load RDF data into the graph.
m
top
min
The minutes pasts the hour as an integer
month
Integer representation of the month
n
top
Namespace.php
Namespace.php in Namespace.php
Ntriples.php
Ntriples.php in Ntriples.php
Ntriples.php
Ntriples.php in Ntriples.php
namespaces
Return all the namespaces registered
newBNode
Create a new blank node in the graph and return it.
newBNodeId
Create a new unique blank node identifier and return it.
newParser
Create a new parser to parse this format
newSerialiser
Create a new serialiser to parse this format
numFields
Return the number of fields in a query result of type bindings.
numRows
Return the number of rows in a query result of type bindings.
p
top
Parser.php
Parser.php in Parser.php
parse
Parse an RDF document into an EasyRdf_Graph
parse
Parse some RDF data into the graph object.
parse
Parse RDF/PHP into an EasyRdf_Graph
parse
Parse an RDF/XML document into an EasyRdf_Graph
parse
Parse an RDF document into an EasyRdf_Graph
parse
Parse an N-Triples document into an EasyRdf_Graph
parse
Parse an RDF document into an EasyRdf_Graph
parse
Parse RDF/JSON into an EasyRdf_Graph
prefix
Get a the prefix of the namespace that this resource is part of
prefixOfUri
Return the prefix namespace that a URI belongs to.
primaryTopic
Get the primary topic of this resource.
primaryTopic
Get the primary topic of the graph
properties
Get a list of all the shortened property names (qnames) for a resource.
properties
Get a list of all the shortened property names (qnames) for a resource.
propertyUris
Get a list of the full URIs for the properties of this resource.
propertyUris
Get a list of the full URIs for the properties of a resource.
q
top
query
Make a query to the SPARQL endpoint
r
top
Response.php
Response.php in Response.php
Rapper.php
Rapper.php in Rapper.php
RdfPhp.php
RdfPhp.php in RdfPhp.php
RdfXml.php
RdfXml.php in RdfXml.php
Redland.php
Redland.php in Redland.php
Resource.php
Resource.php in Resource.php
Rapper.php
Rapper.php in Rapper.php
RdfPhp.php
RdfPhp.php in RdfPhp.php
RdfXml.php
RdfXml.php in RdfXml.php
Result.php
Result.php in Result.php
RDF_XML_LITERAL
A constant for the RDF Type property URI
register
Register a new format
registerParser
Class method to register a parser class to a format name
registerSerialiser
Class method to register a serialiser class to a format name
replace
Replace the contents of a graph in the graph store with new data
request
Send the HTTP request and return an HTTP response object
reset
Delete the anonymous namespaces and reset the counter to 0
resetParameters
Clear all GET and POST parameters
resolveResource
Get or create a resource stored in a graph
resolveUriReference
Resolve a URI to a base URI.
resource
Get or create a resource stored in a graph
resources
Get an associative array of all the resources stored in the graph.
resourcesMatching
Get an arry of resources matching a certain property and value.
reversePropertyUris
Get a list of the full URIs for the properties that point to this resource.
reversePropertyUris
Get a list of the full URIs for the properties that point to a resource.
s
top
Serialiser.php
Serialiser.php in Serialiser.php
sec
The seconds pasts the minute as an integer
serialise
Method to serialise an EasyRdf_Graph to RDF/JSON
serialise
Serialise an EasyRdf_Graph into RDF format of choice.
serialise
Serialise an EasyRdf_Graph into N-Triples
serialise
Method to serialise an EasyRdf_Graph to RDF/XML
serialise
Method to serialise an EasyRdf_Graph to RDF/PHP
serialise
Serialise an EasyRdf_Graph to the RDF format of choice.
serialise
Serialise the graph into RDF
serialise
Serialise an EasyRdf_Graph to Turtle.
set
EasyRdf_Namespace::set() in Namespace.php
Register a new namespace.
set
EasyRdf_Resource::set() in Resource.php
Set value(s) for a property
set
Set value(s) for a property
set
EasyRdf_TypeMapper::set() in TypeMapper.php
Register an RDF type with a PHP Class name
setConfig
Set configuration parameters for this HTTP client
setDatatypeMapping
Register an RDF datatype with a PHP class name
setDefaultHttpClient
Set the HTTP Client object used to fetch RDF data
setHeaders
Set a request header
setLabel
Set the label for a format object
setMethod
Set the next request's method
setMimeTypes
Set the MIME Types for a format object
setParameterGet
Set a GET parameter for the request.
setParserClass
Set the parser to use for a format
setRawData
Set the raw (already encoded) POST data.
setSerialiserClass
Set the serialiser to use for a format
setType
Change the rdf:type property for the resource
setType
Change the rdf:type property for a resource
setUri
Set the URI for the next request
setUri
Set the URI for a format object
shorten
Shorten a URI by substituting in the namespace prefix.
shorten
Get a shortened version of the resources URI.
t
top
Turtle.php
Turtle.php in Turtle.php
TypeMapper.php
TypeMapper.php in TypeMapper.php
toArray
Returns the graph as a RDF/PHP associative array
toArray
Returns the properties of the literal as an associative array
toArray
Returns the properties of the resource as an associative array
type
Get the resource type of the graph
type
EasyRdf_Resource::type() in Resource.php
Get a single type for a resource.
typeAsResource
Get the resource type of the graph as a EasyRdf_Resource
typeAsResource
Get a single type for a resource, as a resource.
types
Get a list of types for a resource.
types
Get a list of types for a resource.
u
top
Utils.php
Utils.php in Utils.php
unregister
Remove a format from the registry
y
top
year
A full integer representation of the year, 4 digits
a b c d e f g h i j l m n p q r s t u y _