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
|
|
|
|
*/
|
2017-10-21 02:16:13 +02:00
|
|
|
private static $icon = 'silverstripe/userforms:images/sitetree_icon.png';
|
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
|
|
|
}
|