Browse Source

Implementation and integration...

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1981 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 13 năm trước cách đây
mục cha
commit
a3ce1d746c
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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();