2017-08-09 01:47:47 +02:00
|
|
|
<?php
|
|
|
|
|
2017-08-09 01:55:09 +02:00
|
|
|
namespace SilverStripe\UserForms\Model;
|
|
|
|
|
|
|
|
use Page;
|
2017-10-09 04:05:41 +02:00
|
|
|
|
|
|
|
use SilverStripe\UserForms\UserForm;
|
2017-10-18 10:36:31 +02:00
|
|
|
use SilverStripe\UserForms\Control\UserDefinedFormController;
|
2017-08-09 01:55:09 +02:00
|
|
|
|
2017-08-09 01:47:47 +02:00
|
|
|
/**
|
|
|
|
* @package userforms
|
|
|
|
*/
|
|
|
|
class UserDefinedForm extends Page
|
|
|
|
{
|
2017-10-09 04:05:41 +02:00
|
|
|
use UserForm;
|
|
|
|
|
2017-08-09 01:47:47 +02:00
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
2019-01-14 01:26:59 +01:00
|
|
|
private static $icon_class = 'font-icon-p-list';
|
2017-08-09 01:47:47 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
private static $description = 'Adds a customizable form.';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
2017-08-11 01:33:06 +02:00
|
|
|
private static $table_name = 'UserDefinedForm';
|
2017-10-18 10:36:31 +02:00
|
|
|
|
|
|
|
public function getControllerName()
|
|
|
|
{
|
|
|
|
return UserDefinedFormController::class;
|
|
|
|
}
|
2017-08-09 01:47:47 +02:00
|
|
|
}
|