SilverStripe\MultiForm\Models\MultiFormSession
Serializes one or more {@link MultiFormStep}s into a database object.
MultiFormSession also stores the current step, so that
the and classes
know what the current step is.
Synopsis
class MultiFormSession
extends DataObject
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $has_many = ;
- private static string $table_name = 'MultiFormSession';
- // methods
- public void markCompleted()
- public void onBeforeWrite()
- public void onBeforeDelete()
- public void onAfterWrite()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
- $has_many
- $has_one
- $table_name
Methods
public
- markCompleted() — Mark this session as completed.
- onAfterWrite()
- onBeforeDelete() — These actions are performed when delete() is called on this object.
- onBeforeWrite() — These actions are performed when write() is called on this object.