2013-12-20 09:07:35 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* {@link TreeDropdownField} subclass for handling loading folders through the
|
|
|
|
* nested {@link FormField} instances of the {@link FieldEditor}
|
|
|
|
*
|
2015-07-24 04:37:48 +02:00
|
|
|
* @deprecated since version 4.0
|
2013-12-20 09:07:35 +01:00
|
|
|
* @package userforms
|
|
|
|
*/
|
2016-07-21 07:53:59 +02:00
|
|
|
class UserformsTreeDropdownField extends TreeDropdownField
|
|
|
|
{
|
2013-12-20 09:07:35 +01:00
|
|
|
|
2016-07-21 07:53:59 +02:00
|
|
|
public function __construct($name, $title = null, $sourceObject = 'Group', $keyField = 'ID', $labelField = 'TreeTitle', $showSearch = true)
|
|
|
|
{
|
|
|
|
parent::__construct($name, $title, $sourceObject, $keyField, $labelField, $showSearch);
|
2013-12-20 09:07:35 +01:00
|
|
|
|
2016-07-21 07:53:59 +02:00
|
|
|
Deprecation::notice('4.0', __CLASS__ . " is deprecated");
|
|
|
|
}
|
|
|
|
}
|