Class FOFHalLink
Implementation of the Hypertext Application Language link in PHP.
Package: FrameworkOnFramework\hal
Copyright: Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Since: 2.1
Located at fof/hal/link.php
Copyright: Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Since: 2.1
Located at fof/hal/link.php
Methods summary
public
|
#
__construct( string $href, boolean $templated = false, string $name = null, string $hreflang = null, string $title = null )
Public constructor of a FOFHalLink object |
public
boolean
|
|
public
mixed
|
|
public
|
Magic methods summary
Properties summary
protected
string
|
$_href |
#
For indicating the target URI. Corresponds with the ’Target IRI’ as defined in Web Linking (RFC 5988). This attribute MAY contain a URI Template (RFC6570) and in which case, SHOULD be complemented by an additional templated attribtue on the link with a boolean value true. |
protected
boolean
|
$_templated |
#
This attribute SHOULD be present with a boolean value of true when the href of the link contains a URI Template (RFC6570). |
protected
string
|
$_name |
#
For distinguishing between Resource and Link elements that share the same relation |
protected
string
|
$_hreflang |
#
For indicating what the language of the result of dereferencing the link should be. |
protected
string
|
$_title |
#
For labeling the destination of a link with a human-readable identifier. |