|
@@ 1608-1611 (lines=4) @@
|
| 1605 |
|
); |
| 1606 |
|
} |
| 1607 |
|
|
| 1608 |
|
if($filter !== null || $sort !== null || $limit !== null) { |
| 1609 |
|
Deprecation::notice('4.0', 'The $filter, $sort and $limit parameters for DataObject::getComponents() |
| 1610 |
|
have been deprecated. Please manipluate the returned list directly.', Deprecation::SCOPE_GLOBAL); |
| 1611 |
|
} |
| 1612 |
|
|
| 1613 |
|
// If we haven't been written yet, we can't save these relations, so use a list that handles this case |
| 1614 |
|
if(!$this->ID) { |
|
@@ 1771-1775 (lines=5) @@
|
| 1768 |
|
list($parentClass, $componentClass, $parentField, $componentField, $table) |
| 1769 |
|
= $this->manyManyComponent($componentName); |
| 1770 |
|
|
| 1771 |
|
if($filter !== null || $sort !== null || $join !== null || $limit !== null) { |
| 1772 |
|
Deprecation::notice('4.0', 'The $filter, $sort, $join and $limit parameters for |
| 1773 |
|
DataObject::getManyManyComponents() have been deprecated. |
| 1774 |
|
Please manipluate the returned list directly.', Deprecation::SCOPE_GLOBAL); |
| 1775 |
|
} |
| 1776 |
|
|
| 1777 |
|
// If we haven't been written yet, we can't save these relations, so use a list that handles this case |
| 1778 |
|
if(!$this->ID) { |