N°2429 change visibility of \DBObject::GetReferencingObjects internal method

In iTop, only called by \DBObject::MakeDeletionPlan which is private
Not called in our extensions
Not called/redefined in any client customization
This commit is contained in:
Pierre Goiffon
2019-08-07 16:07:51 +02:00
parent ae1d60d11e
commit 5382d2006c

View File

@@ -4290,8 +4290,19 @@ abstract class DBObject implements iDisplay
$oGraph->ComputeRelatedObjectsUp($sRelCode, $iMaxDepth, $bEnableRedundancy);
return $oGraph;
}
public function GetReferencingObjects($bAllowAllData = false)
/**
* @internal
*
* @param bool $bAllowAllData
*
* @return array keys : attribute (AttributeDefinition), objects (set of linked objects)
* @throws \CoreException
* @throws \MissingQueryArgument
* @throws \MySQLException
* @throws \MySQLHasGoneAwayException
*/
protected function GetReferencingObjects($bAllowAllData = false)
{
$aDependentObjects = array();
$aRererencingMe = MetaModel::EnumReferencingClasses(get_class($this));