mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
37 lines
649 B
PHP
Executable File
37 lines
649 B
PHP
Executable File
<?php
|
|
|
|
namespace SilverStripe\UserForms\Model;
|
|
|
|
use Page;
|
|
|
|
use SilverStripe\UserForms\UserForm;
|
|
use SilverStripe\UserForms\Control\UserDefinedFormController;
|
|
|
|
/**
|
|
* @package userforms
|
|
*/
|
|
class UserDefinedForm extends Page
|
|
{
|
|
use UserForm;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private static $icon = 'silverstripe/userforms:images/sitetree_icon.png';
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private static $description = 'Adds a customizable form.';
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
private static $table_name = 'UserDefinedForm';
|
|
|
|
public function getControllerName()
|
|
{
|
|
return UserDefinedFormController::class;
|
|
}
|
|
}
|