mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 09:05:49 +00:00
Revert to public
This commit is contained in:
parent
be7ff921f6
commit
d9683b69ef
@ -12,17 +12,17 @@
|
|||||||
*/
|
*/
|
||||||
class MultiFormSession extends DataObject {
|
class MultiFormSession extends DataObject {
|
||||||
|
|
||||||
private static $db = array(
|
public static $db = array(
|
||||||
'Hash' => 'Varchar(40)', // cryptographic hash identification to this session
|
'Hash' => 'Varchar(40)', // cryptographic hash identification to this session
|
||||||
'IsComplete' => 'Boolean' // flag to determine if this session is marked completed
|
'IsComplete' => 'Boolean' // flag to determine if this session is marked completed
|
||||||
);
|
);
|
||||||
|
|
||||||
private static $has_one = array(
|
public static $has_one = array(
|
||||||
'Submitter' => 'Member',
|
'Submitter' => 'Member',
|
||||||
'CurrentStep' => 'MultiFormStep'
|
'CurrentStep' => 'MultiFormStep'
|
||||||
);
|
);
|
||||||
|
|
||||||
private static $has_many = array(
|
public static $has_many = array(
|
||||||
'FormSteps' => 'MultiFormStep'
|
'FormSteps' => 'MultiFormStep'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -11,11 +11,11 @@
|
|||||||
*/
|
*/
|
||||||
class MultiFormStep extends DataObject {
|
class MultiFormStep extends DataObject {
|
||||||
|
|
||||||
private static $db = array(
|
public static $db = array(
|
||||||
'Data' => 'Text' // stores serialized maps with all session information
|
'Data' => 'Text' // stores serialized maps with all session information
|
||||||
);
|
);
|
||||||
|
|
||||||
private static $has_one = array(
|
public static $has_one = array(
|
||||||
'Session' => 'MultiFormSession'
|
'Session' => 'MultiFormSession'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user