浏览代码

IsInDefinition is needed => made it public

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2803 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 12 年之前
父节点
当前提交
bdedf75155
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      setup/modelfactory.class.inc.php

+ 1 - 1
setup/modelfactory.class.inc.php

@@ -1718,7 +1718,7 @@ class MFElement extends DOMElement
 	 * Check if the current node is under a node 'added' or 'altered'
 	 * Usage: In such a case, the change must not be tracked	 	
 	 */
-	 protected function IsInDefinition()
+	 public function IsInDefinition()
 	 {
 		// Iterate through the parents: reset the flag if any of them has a flag set 
 		for($oParent = $this ; $oParent instanceof MFElement ; $oParent = $oParent->parentNode)