mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Removed DataObject->mapRelationshipObjects() - incomplete functionality
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60400 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
d1561b82aa
commit
4904969c60
@ -2489,20 +2489,6 @@ class DataObject extends ViewableData implements DataObjectInterface {
|
|||||||
return $filters;
|
return $filters;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Replace named fields in a relationship with actual path to data objects.
|
|
||||||
*
|
|
||||||
* @param string $path
|
|
||||||
* @return SearchFilter
|
|
||||||
*/
|
|
||||||
protected function mapRelationshipObjects($path) {
|
|
||||||
$path = explode('.', $path);
|
|
||||||
$fieldName = array_pop($path);
|
|
||||||
foreach($path as $relation) {
|
|
||||||
//
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return boolean True if the object is in the database
|
* @return boolean True if the object is in the database
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user