2007-07-19 10:40:28 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2011-05-06 08:51:02 +10:00
|
|
|
* @deprecated 3.0 Please use {@link FieldList}.
|
2011-09-26 16:47:54 +13:00
|
|
|
*
|
2011-05-06 08:30:54 +10:00
|
|
|
* @package forms
|
2008-01-09 04:18:36 +00:00
|
|
|
* @subpackage fields-structural
|
2007-07-19 10:40:28 +00:00
|
|
|
*/
|
2011-05-06 08:51:02 +10:00
|
|
|
class FieldSet extends FieldList {
|
2007-11-23 01:10:19 +00:00
|
|
|
|
2011-10-28 14:36:20 +13:00
|
|
|
/**
|
2011-10-29 12:02:11 +13:00
|
|
|
* @deprecated 3.0 Use FieldList instead
|
2011-10-28 14:36:20 +13:00
|
|
|
*/
|
2011-05-06 08:51:02 +10:00
|
|
|
public function __construct($items = array()) {
|
2011-10-29 12:02:11 +13:00
|
|
|
Deprecation::notice('3.0', 'Use FieldList instead.');
|
2011-05-06 08:51:02 +10:00
|
|
|
parent::__construct(!is_array($items) || func_num_args() > 1 ? func_get_args(): $items);
|
2009-11-05 01:54:37 +00:00
|
|
|
}
|
|
|
|
}
|