\CustomMenuBlock
A block that allows end users to manually build a custom (flat or nested) menu
- Author: Shea Dawson <shea@symbiote.com.au>
Synopsis
class CustomMenuBlock
extends Block
{
- // members
- private static string $singular_name = 'Custom Menu Block';
- private static string $plural_name = 'Custom Menu Blocks';
- private static array $db = ;
- private static array $has_many = ;
- // methods
- public void getCMSFields()
- public DataList MenuItems()
Hierarchy
Extends
- Block
Members
private
- $db
- $has_many
- $plural_name
- $singular_name
Methods
public
- MenuItems() — Method for use in templates to loop over menu items
- getCMSFields()