CodeCraft\Pathfinder\Model\Question
A question used as a step in a Pathfinder
Synopsis
class Question
extends DataObject
{
- // members
- private static array $extensions = ;
- private static string $table_name = 'PathfinderQuestion';
- private static array $db = ;
- private static array $has_one = ;
- private static array $has_many = ;
- private static array $belongs_many_many = ;
- private static array $owns = ;
- private static array $summary_fields = ;
- private static string $default_sort = 'Sort';
- // methods
- public void onAfterDelete()
- public void populateDefaults()
- public void getCMSFields()
- public RequiredFields getCMSValidator()
- public string getTitle()
- public DataList recursivePrecedentIDs()
- public string getFlowTitle()
- public void getCMSTitle()
- public string getCMSID()
- public string getDefaultQID()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $belongs_many_many — array
- $db — array
- $default_sort — string
- $extensions — array
- $has_many — array
- $has_one — array
- $owns — array
- $summary_fields — array
- $table_name — string
Methods
public
- getCMSFields() — {@inheritDoc}
- getCMSID() — Useful for identifying this question, (e.g {@see Pathfinder::getCMSFields()})
- getCMSTitle() — A title that's helpful for CMS users
- getCMSValidator()
- getDefaultQID()
- getFlowTitle()
- getTitle() — A title for the CMS to use
- onAfterDelete() — {@inheritDoc}
- populateDefaults() — {@inheritDoc}
- recursivePrecedentIDs() — Establish all questions that preceeded this question, including this question