My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Labeller  
Utility class for labelling properties
Autogenerated
Updated Jan 13, 2010 by innovat...@gmail.com

note: this page is automatically generated from embedded documentation in the PHP source.

Overview

Methods

Fields

Method Detail

add_labelling_property

public void add_labelling_property(mixed p)

get_label

public void get_label(mixed uri, mixed g, mixed capitalize, mixed use_qnames)

get_ns

public void get_ns()

get_plural_label

public void get_plural_label(mixed uri, mixed g, mixed capitalize, mixed use_qnames)

get_prefix

public void get_prefix(mixed ns)

label_graph

public void label_graph(mixed graph)

qname_to_uri

public void qname_to_uri(mixed qname)

Convert a QName to a URI using registered namespace prefixes

Param:
string qname the QName to convert
Return:
string the URI corresponding to the QName if a suitable prefix exists, null otherwise

set_namespace_mapping

public void set_namespace_mapping(mixed prefix, mixed uri)

Map a portion of a URI to a short prefix for use when serialising the graph

Param:
string prefix the namespace prefix to associate with the URI
string uri the URI to associate with the prefix

uri_to_qname

public void uri_to_qname(mixed uri)

Convert a URI to a QName using registered namespace prefixes

Param:
string uri the URI to convert
Return:
string the QName corresponding to the URI if a suitable prefix exists, null otherwise

Field Detail

Generated by PHPDoctor 2RC2


Sign in to add a comment
Powered by Google Project Hosting