mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-28 21:46:10 +02:00
24 lines
397 B
PHP
24 lines
397 B
PHP
|
<?php
|
||
|
/**
|
||
|
* SubmittedForm
|
||
|
* Contents of an UserDefinedForm submission
|
||
|
*/
|
||
|
class SubmittedForm extends DataObject {
|
||
|
static $has_one = array(
|
||
|
"SubmittedBy" => "Member",
|
||
|
"Parent" => "UserDefinedForm",
|
||
|
);
|
||
|
|
||
|
static $db = array(
|
||
|
"Recipient" => "Varchar"
|
||
|
);
|
||
|
|
||
|
static $has_many = array(
|
||
|
"FieldValues" => "SubmittedFormField"
|
||
|
);
|
||
|
|
||
|
function SubmitTime() {
|
||
|
return $this->Created;
|
||
|
}
|
||
|
}
|
||
|
?>
|