JMenuNode::__construct
Constructor for the class.
Signature
public function __construct(string
$title,
[string
$link = null,
[string
$class = null,
[boolean
$active = false,
[string
$target = null,
[string
$titleicon = null]]]]] )
Parameters
-
$title
- The title of the node
-
$link
- The node link
-
$class
- The CSS class for the node
-
$active
- True if node is active, false otherwise
-
$target
- The link target
-
$titleicon
- The title icon for the node