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