mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Implementation and integration...
SVN:trunk[1981]
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user