mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
18 lines
395 B
PHP
18 lines
395 B
PHP
<?php
|
|
/**
|
|
* @deprecated 3.0 Please use {@link FieldList}.
|
|
*
|
|
* @package forms
|
|
* @subpackage fields-structural
|
|
*/
|
|
class FieldSet extends FieldList {
|
|
|
|
public function __construct($items = array()) {
|
|
user_error(
|
|
'FieldSet is deprecated, please use FieldList instead.', E_USER_NOTICE
|
|
);
|
|
|
|
parent::__construct(!is_array($items) || func_num_args() > 1 ? func_get_args(): $items);
|
|
}
|
|
}
|