@@ 83-94 (lines=12) @@ | ||
80 | * @param string $columnName |
|
81 | * @param $configuration |
|
82 | */ |
|
83 | public function __construct($columnName, $configuration) |
|
84 | { |
|
85 | parent::__construct($columnName); |
|
86 | $this->foreignType = $configuration['foreign_type']; |
|
87 | $this->foreignTable = $configuration['foreign_table']; |
|
88 | $this->foreignTableWhere = $configuration['foreign_table_where']; |
|
89 | $this->foreignField = $configuration['foreign_field']; |
|
90 | $this->items = $configuration['items']; |
|
91 | $this->maxItems = $configuration['maxitems']; |
|
92 | $this->minItems = $configuration['minitems']; |
|
93 | $this->size = $configuration['size']; |
|
94 | } |
|
95 | ||
96 | /** |
|
97 | * @return string |
@@ 78-88 (lines=11) @@ | ||
75 | * @param string $columnName |
|
76 | * @param $configuration |
|
77 | */ |
|
78 | public function __construct($columnName, $configuration) |
|
79 | { |
|
80 | parent::__construct($columnName); |
|
81 | $this->foreignTable = $configuration['foreign_table']; |
|
82 | $this->foreignField = $configuration['foreign_field']; |
|
83 | $this->foreignTableWhere = $configuration['foreign_table_where']; |
|
84 | $this->items = $configuration['items']; |
|
85 | $this->maxItems = $configuration['maxitems']; |
|
86 | $this->minItems = $configuration['minitems']; |
|
87 | $this->size = $configuration['size']; |
|
88 | } |
|
89 | ||
90 | /** |
|
91 | * @return string |