mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
set $template and $itemClass to public (according to parent implementation)
fixed formatting git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47741 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
071b310c64
commit
126349da29
@ -15,9 +15,9 @@ class HasManyComplexTableField extends ComplexTableField {
|
||||
|
||||
protected $htmlListField = 'selected'; // If you change the value, do not forget to change it also in the JS file
|
||||
|
||||
protected $template = 'RelationComplexTableField';
|
||||
public $template = 'RelationComplexTableField';
|
||||
|
||||
protected $itemClass = 'HasManyComplexTableField_Item';
|
||||
public $itemClass = 'HasManyComplexTableField_Item';
|
||||
|
||||
protected $relationAutoSetting = false;
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
class HasOneComplexTableField extends HasManyComplexTableField {
|
||||
|
||||
protected $itemClass = 'HasOneComplexTableField_Item';
|
||||
public $itemClass = 'HasOneComplexTableField_Item';
|
||||
|
||||
public $isOneToOne = false;
|
||||
|
||||
|
@ -9,7 +9,7 @@ class ManyManyComplexTableField extends HasManyComplexTableField {
|
||||
|
||||
private $manyManyParentClass;
|
||||
|
||||
protected $itemClass = 'ManyManyComplexTableField_Item';
|
||||
public $itemClass = 'ManyManyComplexTableField_Item';
|
||||
|
||||
function __construct($controller, $name, $sourceClass, $fieldList, $detailFormFields = null, $sourceFilter = "", $sourceSort = "", $sourceJoin = "") {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user