mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
MINOR Re-added deprecated variable on MemberTableField
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@71594 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
aa69629a3c
commit
5141700f41
@ -32,6 +32,11 @@ class MemberTableField extends ComplexTableField {
|
|||||||
|
|
||||||
static $data_class = 'Member';
|
static $data_class = 'Member';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated 2.4. See {@link MemberTableField->addPermissions()}
|
||||||
|
*/
|
||||||
|
private static $addedPermissions = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated 2.4: See {@link MemberTableField->addMembershipFields()}
|
* @deprecated 2.4: See {@link MemberTableField->addMembershipFields()}
|
||||||
*/
|
*/
|
||||||
@ -42,6 +47,15 @@ class MemberTableField extends ComplexTableField {
|
|||||||
*/
|
*/
|
||||||
private static $addedCsvFields = array();
|
private static $addedCsvFields = array();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated 2.4. Set permissions using setPermissions(Array) on
|
||||||
|
* the MemberTableField object.
|
||||||
|
*/
|
||||||
|
public static function addPermissions($addingPermissionList) {
|
||||||
|
trigger_error('MemberTableField::addPermissions() is deprecated. Please set permissions using setPermissions(Array) on the MemberTableField object.', E_USER_NOTICE);
|
||||||
|
self::$addedPermissions = $addingPermissionList;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated 2.4: Please use a DataObjectDecorator, implementing updateSummaryFields
|
* @deprecated 2.4: Please use a DataObjectDecorator, implementing updateSummaryFields
|
||||||
* to alter the table overview fields instead.
|
* to alter the table overview fields instead.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user