/**
  * Continue the initialisation from an xml (FormElementFactory is not smart enough to do all stuff.
  * Polymorphism rulez!!!
  *
  * @param SimpleXMLElement $xml         containing the structure of the imported Tracker_FormElement
  * @param array            &$xmlMapping where the newly created formElements indexed by their XML IDs are stored (and values)
  *
  * @return void
  */
 public function continueGetInstanceFromXML($xml, &$xmlMapping, User\XML\Import\IFindUserFromXMLReference $user_finder)
 {
     parent::continueGetInstanceFromXML($xml, $xmlMapping, $user_finder);
     // add children
     if ($xml->formElements) {
         foreach ($xml->formElements->formElement as $elem) {
             $this->formElements[] = $this->getFormElementFactory()->getInstanceFromXML($this->getTracker(), $elem, $xmlMapping, $user_finder);
         }
     }
 }
 /**
  * Continue the initialisation from an xml (FormElementFactory is not smart enough to do all stuff.
  * Polymorphism rulez!!!
  *
  * @param SimpleXMLElement $xml         containing the structure of the imported Tracker_FormElement
  * @param array            &$xmlMapping where the newly created formElements indexed by their XML IDs are stored (and values)
  *
  * @return void
  */
 public function continueGetInstanceFromXML($xml, &$xmlMapping)
 {
     parent::continueGetInstanceFromXML($xml, $xmlMapping);
     // add children
     if ($xml->formElements) {
         foreach ($xml->formElements->formElement as $elem) {
             $this->formElements[] = $this->getFormElementFactory()->getInstanceFromXML($this->getTracker(), $elem, $xmlMapping);
         }
     }
 }