[ class tree: ] [ index: ] [ all elements ]

Index of all elements

[ a ] [ b ] [ c ] [ d ] [ e ] [ f ] [ g ] [ i ] [ l ] [ m ] [ n ] [ o ] [ p ] [ r ] [ s ] [ t ] [ u ]

a

$anon
in file Serializer.php, variable RDF_N3_Serializer::$anon
addNSPrefix
in file Serializer.php, method RDF_N3_Serializer::addNSPrefix()
    Adds a new namespace prefix to use.
applyStuff
in file Parser.php, method RDF_N3_Parser::applyStuff()
    Applies stuff :) Expands namespace prefixes etc.
array_concat
in file Parser.php, method RDF_N3_Parser::array_concat()
    Concatenates two arrays
top

b

$bNode
in file Parser.php, variable RDF_N3_Parser::$bNode
bnodeID
in file Parser.php, method RDF_N3_Parser::bnodeID()
    Generates a new node id.
top

c

custom_test_n3.php
procedural page custom_test_n3.php
top

d

$DAML_NS
in file Parser.php, variable RDF_N3_Parser::$DAML_NS
$debug
in file Serializer.php, variable RDF_N3_Serializer::$debug
$debug
in file Parser.php, variable RDF_N3_Parser::$debug
$done
in file Serializer.php, variable RDF_N3_Serializer::$done
doLists
in file Parser.php, method RDF_N3_Parser::doLists()
    Makes lists of elements in list into a seperate array element.
doNamespaces
in file Serializer.php, method RDF_N3_Serializer::doNamespaces()
    Makes ns0, ns1 etc. prefixes for unknown prefixes.
doResource
in file Serializer.php, method RDF_N3_Serializer::doResource()
    Fill in $resourcetext for a single resource.
doURI
in file Serializer.php, method RDF_N3_Serializer::doURI()
    Format a single URI
top

e

echo_string_with_linenumbers
in file custom_test_n3.php, function echo_string_with_linenumbers()
expandLists
in file Parser.php, method RDF_N3_Parser::expandLists()
    This makes [ ] lists into bnodes.
top

f

filterWs
in file Parser.php, method RDF_N3_Parser::filterWs()
    Removes all whitespace tokens from list
fixAnon
in file Serializer.php, method RDF_N3_Serializer::fixAnon()
    Fix the resourcetext for a blanknode where the _: construct was used
fixAnon
in file Parser.php, method RDF_N3_Parser::fixAnon()
    This makes bNodes out of variables like _:a etc.
top

g

generateModel
in file Parser.php, method RDF_N3_Parser::generateModel()
    Generate a new Model_Memory from an URI or file.
getObjs
in file Parser.php, method RDF_N3_Parser::getObjs()
    * Gets a list of triples with same predicate e.g. :Gunnar :likes "Cheese", "Wine".
getPovs
in file Parser.php, method RDF_N3_Parser::getPovs()
    Gets a list of triples with same subject e.g. :Gunnar :firstname "Gunnar" ; :lastname "Grimnes.
getPrefixes
in file Parser.php, method RDF_N3_Parser::getPrefixes()
    Returns an array with prefixes=>namespace mappings
getSpan
in file Parser.php, method RDF_N3_Parser::getSpan()
    Gets a slice of an array.
getStatements
in file Parser.php, method RDF_N3_Parser::getStatements()
    Returns an array of triples extracted from the list of n3 tokens
top

i

isWS
in file Parser.php, method RDF_N3_Parser::isWS()
    Returns FALSE if argument is a whitespace character
top

l

listify
in file Parser.php, method RDF_N3_Parser::listify()
    Returns a list with the elements between start and end as one quoted string e.g. listify(["a","b","c","d"],1,2) => ["a","b c", "d"]
listStuff
in file Parser.php, method RDF_N3_Parser::listStuff()
    Apply doLists for all different types of list.
top

m

$model
in file Serializer.php, variable RDF_N3_Serializer::$model
MAGIC_STRING
in file Serializer.php, constant MAGIC_STRING
top

n

n3tolist
in file Parser.php, method RDF_N3_Parser::n3tolist()
    Main work-horse function. This converts a N3 string to a list of statements
notComment
in file Parser.php, method RDF_N3_Parser::notComment()
    Returns true if the string is not a comment
top

o

$OWL_NS
in file Parser.php, variable RDF_N3_Parser::$OWL_NS
top

p

$prefixes
in file Serializer.php, variable RDF_N3_Serializer::$prefixes
parse
in file Parser.php, method RDF_N3_Parser::parse()
    This parses a N3 string and prints out the triples
parse2model
in file Parser.php, method RDF_N3_Parser::parse2model()
    This parses a N3 string and prints out the triples
posns
in file Parser.php, method RDF_N3_Parser::posns()
    Returns an array with all indexes where item appears in list
Parser.php
procedural page Parser.php
top

r

$RDF_NS
in file Parser.php, variable RDF_N3_Parser::$RDF_NS
$res
in file Serializer.php, variable RDF_N3_Serializer::$res
$resourcetext
in file Serializer.php, variable RDF_N3_Serializer::$resourcetext
$resourcetext_taken
in file Serializer.php, variable RDF_N3_Serializer::$resourcetext_taken
RDF_N3_Parser
in file Parser.php, method RDF_N3_Parser::RDF_N3_Parser()
RDF_N3_Parser
in file Parser.php, class RDF_N3_Parser
    PHP Notation3 Parser
RDF_N3_Serializer
in file Serializer.php, class RDF_N3_Serializer
RDF_N3_Serializer
in file Serializer.php, method RDF_N3_Serializer::RDF_N3_Serializer()
replace_a_type
in file Parser.php, method RDF_N3_Parser::replace_a_type()
    Callback function for replacing "a" elements with the right RDF uri.
replace_equal
in file Parser.php, method RDF_N3_Parser::replace_equal()
    Callback function for replacing "=" elements with the right DAML+OIL uri.
replace_this
in file Parser.php, method RDF_N3_Parser::replace_this()
    Callback function for replacing "this" elements with the right RDF uri.
reset
in file Serializer.php, method RDF_N3_Serializer::reset()
    Readies this object for serializing another model
top

s

Serializer.php
procedural page Serializer.php
saveAs
in file Serializer.php, method RDF_N3_Serializer::saveAs()
    Serializes a model and saves it into a file.
serialize
in file Serializer.php, method RDF_N3_Serializer::serialize()
    Serializes a model to N3 syntax.
setFixBnodes
in file Parser.php, method RDF_N3_Parser::setFixBnodes()
    Sets, if BlankNode labels should be replaced by the generic label from the constants.php file default is "false" -> the used label in n3 is parsed to the model
statementize
in file Parser.php, method RDF_N3_Parser::statementize()
    Does the real work, returns a list of subject, predicate, object triples.
top

t

$Tokens
in file Parser.php, variable RDF_N3_Parser::$Tokens
toke
in file Parser.php, method RDF_N3_Parser::toke()
    Returns a list of tokens
toRDFNode
in file Parser.php, method RDF_N3_Parser::toRDFNode()
    Constructs a RAP RDFNode from URI/Literal/Bnode
trimLine
in file Parser.php, method RDF_N3_Parser::trimLine()
    Callback function for trimming whitespace from lines
top

u

uparse
in file Parser.php, method RDF_N3_Parser::uparse()
    This parses a N3 string and calls func($subject, $predicate, $object) with each trioke
top

Documentation generated on Sun, 10 Oct 2010 04:30:07 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.