FOFToolbar::appendLink
Append a link to the link bar
Signature
public function appendLink(string
$name,
[string|null
$link = null,
[boolean
$active = false,
[string|null
$icon = null,
[string
$parent = '']]]] )
Parameters
-
$name
- The text of the link
-
$link
- The link to render; set to null to render a separator
-
$active
- True if it's an active link
-
$icon
- Icon class (used by some renderers, like the Bootstrap renderer)
-
$parent
- The parent element (referenced by name)) Thsi will create a dropdown list
Returns
- void