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
|
2023-12-15 05:04:35 +01:00
|
|
|
* @method SilverStripe\ORM\HasManyList<SilverStripe\UserForms\Model\Recipient\EmailRecipient> EmailRecipients()
|
|
|
|
* @method SilverStripe\ORM\HasManyList<SilverStripe\UserForms\Model\Submission\SubmittedForm> Submissions()
|
2017-08-09 01:47:47 +02:00
|
|
|
*/
|
|
|
|
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
|
|
|
|
2021-09-16 22:23:39 +02:00
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
private static $controller_name = UserDefinedFormController::class;
|
2017-08-09 01:47:47 +02:00
|
|
|
}
|