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