LinkRelationTypeInterface
interface LinkRelationTypeInterface (View source)
Defines a single link relation type.
An example of a link relation type is 'canonical'. It represents a canonical, definite representation of a resource.
Methods
Indicates whether this link relation type is of the 'registered' kind.
Indicates whether this link relation type is of the 'extension' kind.
Returns the registered link relation type name.
Returns the extension link relation type URI.
Returns the link relation type description.
Returns the URL pointing to the reference of the link relation type.
Returns some extra notes/comments about this link relation type.
Details
bool
isRegistered()
Indicates whether this link relation type is of the 'registered' kind.
bool
isExtension()
Indicates whether this link relation type is of the 'extension' kind.
string|null
getRegisteredName()
Returns the registered link relation type name.
Only available for link relation types of the KIND_REGISTERED kind.
string
getExtensionUri()
Returns the extension link relation type URI.
Only available for link relation types of the KIND_EXTENSION kind.
string
getDescription()
Returns the link relation type description.
string
getReference()
Returns the URL pointing to the reference of the link relation type.
string
getNotes()
Returns some extra notes/comments about this link relation type.