\CustomMenuBlockItem
A menu item that is attached to a CustomMenuBlock
- Author: Shea Dawson <shea@symbiote.com.au>
Synopsis
class CustomMenuBlockItem
extends Link
{
- // members
- private static string $singular_name = 'Menu Item';
- private static string $plural_name = 'Menu Items';
- private static array $db = ;
- private static array $has_one = ;
- private static array $has_many = ;
- private static array $extensions = ;
- private static string $default_sort = 'Sort';
- // methods
- public void getCMSFields()
- public void getParent()
- protected void onBeforeWrite()
- protected ValidationResult validate()
- public void stageChildren()
Hierarchy
Extends
- Link
Members
private
- $db
- $default_sort
- $extensions
- $has_many
- $has_one
- $plural_name
- $singular_name
Methods
protected
- onBeforeWrite()
- validate() — Validate
public
- getCMSFields()
- getParent()
- stageChildren() — Overridden to use this->class instead of base class