NinjaUnicorns\WysiwygAccordion\Models\AccordionItem
Class AccordionItem
There are no permissions, as they're part of Page, and not a separate thing.
Synopsis
class AccordionItem
extends DataObject
{
- // members
- private static string $table_name = 'AccordionItem';
- private static array $db = ;
- private static array $has_one = ;
- private static array $summary_fields = ;
- private static string $default_sort = 'SortOrder ASC';
- // methods
- public FieldList getCMSFields()
- public void canDelete()
- public void wasPublished()
- public void onAfterDelete()
- public bool isPublished()
- public bool isNew()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
- $default_sort
- $has_one
- $summary_fields — array
- $table_name
Methods
public
- canDelete()
- getCMSFields()
- isNew() — Check if this page is new - that is, if it has yet to have been written to the database.
- isPublished() — Check if this page has been published.
- onAfterDelete()
- wasPublished()