TheWebmen\Menustructure\Model\Menu
Synopsis
class Menu
extends DataObject
implements
TemplateGlobalProvider
{
- // members
- private static string $table_name = 'Menustructure_Menu';
- private static array $db = ;
- private static array $has_many = ;
- private static array $summary_fields = ;
- // methods
- public FieldList getCMSFields()
- public void onBeforeWrite()
- public void onBeforeDelete()
- public bool IsProtected()
- public bool canCreate()
- public bool canView()
- public bool canEdit()
- public bool canDelete()
- public DBHTMLText forTemplate()
- public static DataObject MenustructureMenu()
- public static array get_template_global_variables()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Implements
- SilverStripe\View\TemplateGlobalProvider
Members
private
- $db
- $has_many
- $summary_fields
- $table_name
Methods
public
- IsProtected()
- MenustructureMenu()
- canCreate()
- canDelete()
- canEdit()
- canView()
- forTemplate()
- getCMSFields()
- get_template_global_variables()
- onBeforeDelete() — Recursive delete
- onBeforeWrite() — On before write generate the slug if needed