소스 검색

Implementation and integration...

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1981 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 13 년 전
부모
커밋
a3ce1d746c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      setup/modelfactory.class.inc.php

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

@@ -1234,9 +1234,9 @@ class MFElement extends DOMElement
 	 * where value can be the either a text or an array of items... recursively 
 	 * Returns a PHP array 
 	 */ 
-	public function GetNodeAsArrayOfItems()
+	public function GetNodeAsArrayOfItems($sElementName = 'items')
 	{
-		$oItems = $this->GetOptionalElement('items');
+		$oItems = $this->GetOptionalElement($sElementName);
 		if ($oItems)
 		{
 			$res = array();