mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-01 15:28:02 +02:00
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39001 467b73ca-7a2a-4603-9d3b-597d59a354a9
24 lines
397 B
PHP
Executable File
24 lines
397 B
PHP
Executable File
<?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;
|
|
}
|
|
}
|
|
?>
|