FOFHalLinks::addLinks
Add multiple links to the links collection
Signature
public function addLinks(string
$rel,
[array
$links = true,
[boolean
$overwrite = true]] )
Parameters
-
$rel
- The relation of the links to the document. See RFC 5988.
-
$links
- An array of FOFHalLink objects
-
$overwrite
- When false and a link of $rel relation exists, an array
Returns
- boolean
- True if the link was added to the collection