ObjectParser
a phpmae:Class in CloudObjects Website
Public PHP Methods
-
setContext($iri)
Set a context IRI for subsequent functions.
-
shortenInternal($iri)
Helper function to convert a COID into a short descriptive name.
-
shortenExternal($iri)
Helper function to convert an external IRI into a short name.
-
getNamespacePrefix($iri)
Get the namespace prefix for the namespace of the COID.
-
getDirectoryURL($iri)
Get the directory URL for a COID/IRI.
-
getLabel($iri)
Get the label for a COID/IRI.
-
getComment($iri)
Get the comment for a COID/IRI.
-
getShortID($iri)
Get the shortened ID from combining namespace prefix and local name.
-
convertObject($iri)
Convert an object into template variables.
-
getRelatedObjects($iri)
Get other objects related to this object.
-
getExternalLinks($iri)
Get external links related to this object.
-
getExporters($iri)
Get exporters to convert this object.
-
setObjectRetriever(ObjectRetriever $retriever)
Set an alternative ObjectRetriever to use.
-
setLocale(string $locale)
Set a locale to use.
Meta
- URI / COID
- coid://website.cloudobjects.io/ObjectParser content_copy
- Revision
- 18-19f08dae0db878ea4a3aee104e4cc1ee content_copy
- Short ID
- cows:ObjectParser content_copy
- Reference URL
- https://coid.link/website.cloudobjects.io/ObjectParser content_copy
- Last updated
- 2021-04-19 15:43 (UTC)
- Created at
- 2021-04-19 15:43 (UTC)