CodeCraft\Pathfinder\Model\Choice
The choices for a Pathfinder's answer. One or more of these makes an answer single or multi-choice
Synopsis
class Choice
extends DataObject
{
- // members
- private static array $extensions = ;
- private static string $table_name = 'PathfinderChoice';
- private static array $db = ;
- private static array $has_one = ;
- private static array $many_many = ;
- private static array $summary_fields = ;
- private static string $default_sort = 'Sort';
- // methods
- public Pathfinder|null getPathfinder()
- public void getCMSFields()
- public RequiredFields getCMSValidator()
- public string getTermsSummary()
- public string getTitle()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db — array
- $default_sort — string
- $extensions — array
- $has_one — array
- $many_many — array
- $summary_fields — array
- $table_name — string
Methods
public
- getCMSFields() — {@inheritDoc}
- getCMSValidator()
- getPathfinder()
- getTermsSummary() — A string representation of the terms for this Choice
- getTitle() — A title for the CMS to use