silverstripe-frameworktest/code/multiform/Page2MultiFormTestPage.php

23 lines
453 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
}
2015-12-17 21:20:49 +01:00
class Page2MultiFormTestPage_Controller extends Page_Controller
{
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
}