mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-09-02 15:57:45 +02:00
29 lines
447 B
PHP
29 lines
447 B
PHP
<?php
|
|
|
|
class Page2MultiFormTestPage extends Page {
|
|
|
|
static $db = array(
|
|
);
|
|
|
|
static $has_one = array(
|
|
);
|
|
|
|
}
|
|
|
|
class Page2MultiFormTestPage_Controller extends Page_Controller {
|
|
|
|
function Page2MultiForm() {
|
|
return new Page2MultiForm($this, 'Page2MultiForm');
|
|
}
|
|
|
|
function finished() {
|
|
return array(
|
|
'Title' => 'Thank you for your submission',
|
|
'Content' => '<p>You have successfully submitted the form. Thanks!</p>'
|
|
);
|
|
}
|
|
|
|
}
|
|
|
|
?>
|