|
FieldPredicateMap
Represents a field/predicate map
Autogenerated note: this page is automatically generated from embedded documentation in the PHP source. OverviewConstructors
Methods
Methods inherited from Moriarty.NetworkResourceMethods inherited from Moriarty.SimpleGraph
Constructor DetailFieldPredicateMappublic FieldPredicateMap(mixed uri, mixed credentials) Create a new instance of this class
Method Detailadd_mappingpublic void add_mapping(mixed p, mixed name, mixed analyzer) Add a mapping between a predicate URI and a short name. Returns the URI of the new mapping.
copy_topublic void copy_to(mixed new_uri) Copies the mappings and other properties into new field/predicate map. Any URIs that are prefixed by the source field/predicate map's URI will be converted to be prefixed with this field/predicate map's URI For example http://example.org/source/fpmaps/1#nameWould become http://example.org/destination/fpmaps/1#name remove_mappingpublic void remove_mapping(mixed p, mixed name) Remove a mapping between a predicate URI and a short name.
Generated by PHPDoctor 2RC2 | |
► Sign in to add a comment