Цю сторінку ще не перекладено українською, тому нижче англійська версія.

module_menu() html()

A row of a() buttons for the actions of an admin module; the button of the current action is disabled and highlighted.

html()->module_menu($obj, $items = [], $extra = [])

Опції

ОпціяЗначення
$objThe module (not used yet).
$itemsRows [url, title, icon, text, ..., target, no_text], the arguments of a().

Приклад

Код

return html()->module_menu(null, [
    ['/@object/', 'Overview', 'fa fa-home'],
    ['/@object/html/module_menu', 'This page', 'fa fa-list', '', '', '_self'],
    ['/@object/html/a', 'Links', 'fa fa-link', '', '', '_self'],
]);

Див. також: html/a, html/dropdown