mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
39 lines
853 B
PHP
Executable File
39 lines
853 B
PHP
Executable File
<?php
|
|
|
|
namespace SilverStripe\UserForms\Model;
|
|
|
|
use Page;
|
|
|
|
use SilverStripe\UserForms\UserForm;
|
|
use SilverStripe\UserForms\Control\UserDefinedFormController;
|
|
|
|
/**
|
|
* @package userforms
|
|
* @method SilverStripe\ORM\HasManyList<SilverStripe\UserForms\Model\Recipient\EmailRecipient> EmailRecipients()
|
|
* @method SilverStripe\ORM\HasManyList<SilverStripe\UserForms\Model\Submission\SubmittedForm> Submissions()
|
|
*/
|
|
class UserDefinedForm extends Page
|
|
{
|
|
use UserForm;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private static $icon_class = 'font-icon-p-list';
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private static $description = 'Adds a customizable form.';
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private static $table_name = 'UserDefinedForm';
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private static $controller_name = UserDefinedFormController::class;
|
|
}
|