mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
26 lines
478 B
PHP
26 lines
478 B
PHP
|
<?php
|
||
|
|
||
|
namespace SilverStripe\MultiForm\Tests;
|
||
|
|
||
|
use SilverStripe\Control\Controller;
|
||
|
use SilverStripe\Dev\TestOnly;
|
||
|
|
||
|
/**
|
||
|
* @package multiform
|
||
|
* @subpackage tests
|
||
|
*/
|
||
|
class MultiFormTestController extends Controller implements TestOnly
|
||
|
{
|
||
|
public function Link()
|
||
|
{
|
||
|
return self::class;
|
||
|
}
|
||
|
|
||
|
public function Form($request = null)
|
||
|
{
|
||
|
$form = new MultiFormTestForm($this, 'Form');
|
||
|
$form->setHTMLID(self::class);
|
||
|
return $form;
|
||
|
}
|
||
|
}
|