mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-23 19:15:47 +02:00
18 lines
409 B
PHP
18 lines
409 B
PHP
<?php
|
|
/**
|
|
* @deprecated 3.0 Please use {@link FieldList}.
|
|
*
|
|
* @package forms
|
|
* @subpackage fields-structural
|
|
*/
|
|
class FieldSet extends FieldList {
|
|
|
|
/**
|
|
* @deprecated 3.0 Use FieldList instead
|
|
*/
|
|
public function __construct($items = array()) {
|
|
Deprecation::notice('3.0', 'Use FieldList instead.');
|
|
parent::__construct(!is_array($items) || func_num_args() > 1 ? func_get_args(): $items);
|
|
}
|
|
}
|