silverstripe-frameworktest/code/Page2MultiFormTestPage.php

29 lines
447 B
PHP
Raw Normal View History

2010-03-10 21:20:44 +01:00
<?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>'
);
}
}
?>