silverstripe-frameworktest/code/Page2MultiFormTestPage.php
2010-03-10 20:20:44 +00:00

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>'
);
}
}
?>