mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02: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);
|
$oGraph->ComputeRelatedObjectsUp($sRelCode, $iMaxDepth, $bEnableRedundancy);
|
||||||
return $oGraph;
|
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();
|
$aDependentObjects = array();
|
||||||
$aRererencingMe = MetaModel::EnumReferencingClasses(get_class($this));
|
$aRererencingMe = MetaModel::EnumReferencingClasses(get_class($this));
|
||||||
|
|||||||
Reference in New Issue
Block a user