public function getContactList()
    {
        $url = 'http://www.oekobaudat.de/OEKOBAU.DAT/resource/contacts/?pageSize=20000';
        $xmlString = file_get_contents($url);
        $xmlString = str_replace(array('c:', 'sapi:', 'mm:'), '', $xmlString);
        $contacts = \simplexml_load_string($xmlString);

        $result = array();
        foreach ($contacts as $contact) {
            $result[(string) $contact->uuid] = (string) $contact->name;
        }

        return $result;
    }
public function getContactList()
    {
        $url = 'http://www.oekobaudat.de/OEKOBAU.DAT/resource/contacts/?pageSize=20000';
        $xmlString = file_get_contents($url);
        $xmlString = str_replace(array('c:', 'sapi:', 'mm:'), '', $xmlString);
        $contacts = \simplexml_load_string($xmlString);

        $result = array();
        foreach ($contacts as $contact) {
            $result[(string) $contact->uuid] = (string) $contact->name;
        }

        return $result;
    }
public function getContactList ( ) { $ url = 'http://www.oekobaudat.de/OEKOBAU.DAT/resource/contacts/?pageSize=20000' ; $ xmlString = file_get_contents ( $ url ) ; $ xmlString = str_replace ( array ( 'c:' , 'sapi:' , 'mm:' ) , '' , $ xmlString ) ; $ contacts = \ simplexml_load_string ( $ xmlString ) ; $ result = array ( ) ; foreach ( $ contacts as $ contact ) { $ result [ ( string ) $ contact -> uuid ] = ( string ) $ contact -> name ; } return $ result ; }
Retrieve the Contact List

@return array array('uuid' => 'name')
Retrieve the Contact List