TheWebmen\Menustructure\Model\MenuItem
Synopsis
class MenuItem
extends DataObject
{
- // members
- private static array $link_types = ;
- private static string $table_name = 'Menustructure_MenuItem';
- private static array $db = ;
- private static array $has_one = ;
- private static array $has_many = ;
- private static array $owns = ;
- private static array $summary_fields = ;
- private static string $default_sort = 'Sort';
- // methods
- public FieldList getCMSFields()
- private void getLinkTypes()
- public bool|mixed getLink()
- public string LinkingMode()
- public bool canCreate()
- public bool canView()
- public bool canEdit()
- public bool canDelete()
- public void onBeforeDelete()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
- $default_sort
- $has_many
- $has_one
- $link_types
- $owns
- $summary_fields
- $table_name
Methods
private
public
- LinkingMode()
- canCreate()
- canDelete()
- canEdit()
- canView()
- getCMSFields()
- getLink()
- onBeforeDelete() — Recursive delete