silverstripe-framework/forms/editor/SubmittedForm.php
Ingo Schommer 9437c5b228 MINOR Moved UserDefinedForm related files into sapphire/forms/editor
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@56213 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-06-15 13:45:10 +00:00

24 lines
396 B
PHP
Executable File

<?php
/**
* Contents of an UserDefinedForm submission
* @package cms
*/
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;
}
}
?>