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:
Ingo Schommer 2008-01-08 21:57:59 +00:00
parent 071b310c64
commit 126349da29
3 changed files with 69 additions and 69 deletions

View File

@ -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;

View File

@ -7,7 +7,7 @@
class HasOneComplexTableField extends HasManyComplexTableField {
protected $itemClass = 'HasOneComplexTableField_Item';
public $itemClass = 'HasOneComplexTableField_Item';
public $isOneToOne = false;

View File

@ -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 = "") {