public function GetOperations() { $xml = new XMLOperations(); $xml->open($this->xmlFileName); $operationsArray = array(); $domList = $xml->getEventsDOMArray(); foreach ($domList as $dom) { $operationsArray[] = DOMAndCommunicationModelConverter::convertModelToCommunicationModel($dom); } return $operationsArray; }