From b965a044783079da3e1a393527e2f7b92eb15c2d Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 2 Sep 2017 17:25:22 +0200 Subject: added convenience method to display item as button --- inc/Menu/Item/AbstractItem.php | 20 ++++++++++++++++++++ inc/Menu/Item/Top.php | 12 ++++++++++++ 2 files changed, 32 insertions(+) (limited to 'inc/Menu') diff --git a/inc/Menu/Item/AbstractItem.php b/inc/Menu/Item/AbstractItem.php index 1f3574776..03ec29afb 100644 --- a/inc/Menu/Item/AbstractItem.php +++ b/inc/Menu/Item/AbstractItem.php @@ -166,6 +166,26 @@ abstract class AbstractItem { return $html; } + /** + * Convenience method to create a