silverstripe-frameworktest/code/multiform/Page2MultiFormTestPage.php
2015-12-18 09:20:49 +13:00

23 lines
453 B
PHP

<?php
class Page2MultiFormTestPage extends Page
{
}
class Page2MultiFormTestPage_Controller extends Page_Controller
{
public function Page2MultiForm()
{
return new Page2MultiForm($this, 'Page2MultiForm');
}
public function finished()
{
return array(
'Title' => 'Thank you for your submission',
'Content' => '<p>You have successfully submitted the form. Thanks!</p>'
);
}
}