mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-02 15:44:11 +01:00
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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user