silverstripe-frameworktest/code/multiform/Page2MultiFormTestPage.php

23 lines
448 B
PHP
Raw Normal View History

2010-03-10 21:20:44 +01:00
<?php
2015-12-17 21:20:49 +01:00
class Page2MultiFormTestPage extends Page
{
2010-03-10 21:20:44 +01:00
}
2017-01-15 09:19:56 +01:00
class Page2MultiFormTestPage_Controller extends PageController
2015-12-17 21:20:49 +01:00
{
2017-01-15 09:19:56 +01:00
2015-12-17 21:20:49 +01:00
public function Page2MultiForm()
{
return new Page2MultiForm($this, 'Page2MultiForm');
}
2010-03-10 21:20:44 +01:00
2015-12-17 21:20:49 +01:00
public function finished()
{
return array(
'Title' => 'Thank you for your submission',
'Content' => '<p>You have successfully submitted the form. Thanks!</p>'
);
}
2010-03-10 21:20:44 +01:00
}