widgets\Menu $linkTemplate

$linkTemplate public property

The template used to render the body of a menu which is a link. In this template, the token {url} will be replaced with the corresponding link URL; while {label} will be replaced with the link text. This property will be overridden by the template option set in individual menu items via $items.

public string $linkTemplate = '<a href="{url}">{label}</a>'
doc_Yii
2016-10-30 17:18:38
Comments
Leave a Comment

Please login to continue.