Symbiote\DynamicLists\DynamicListItem
A dynamic list is a user specified list of data items that can be used for a variety of areas in the site where a predefined list is used using the DynamicListField form control.
- Author: Marcus Nyeholt <marcus@symbiote.com.au>
Synopsis
class DynamicListItem
extends DataObject
{
- // members
- private static string $table_name = 'DynamicListItem';
- private static array $db = ;
- private static array $has_one = ;
- private static array $summary_fields = ;
- private static string $default_sort = 'Sort, ID';
- // methods
- public void getCMSFields()
- public void onBeforeWrite()
- public void onAfterWrite()
- public void canView()
- public boolean canEdit()
- public boolean canDelete()
- public boolean canCreate()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Tasks
Line | Task |
---|---|
92+ | Should canCreate be a static method? |
Members
private
- $db
- $default_sort
- $has_one
- $summary_fields
- $table_name