roundcubemail/plugins/password/drivers/plesk.php
function domain_info($domain)
    {
        // build xml
        $request = $this->get_request_obj();
        $site    = $request->addChild("site");
        $get     = $site->addChild("get");
        $filter  = $get->addChild("filter");

        $filter->addChild("name", utf8_encode($domain));
        $dataset = $get->addChild("dataset");

        $dataset->addChild("hosting");
        $packet = $request->asXML();

        // send the request
        $res = $this->send_request($packet);

        // make it to simple-xml-object
        $xml = new SimpleXMLElement($res);

        return $xml;
    }
function domain_info($domain)
    {
        // build xml
        $request = $this->get_request_obj();
        $site    = $request->addChild("site");
        $get     = $site->addChild("get");
        $filter  = $get->addChild("filter");

        $filter->addChild("name", utf8_encode($domain));
        $dataset = $get->addChild("dataset");

        $dataset->addChild("hosting");
        $packet = $request->asXML();

        // send the request
        $res = $this->send_request($packet);

        // make it to simple-xml-object
        $xml = new SimpleXMLElement($res);

        return $xml;
    }
function domain_info ( $ domain ) { // build xml $ request = $ this -> get_request_obj ( ) ; $ site = $ request -> addChild ( "site" ) ; $ get = $ site -> addChild ( "get" ) ; $ filter = $ get -> addChild ( "filter" ) ; $ filter -> addChild ( "name" , utf8_encode ( $ domain ) ) ; $ dataset = $ get -> addChild ( "dataset" ) ; $ dataset -> addChild ( "hosting" ) ; $ packet = $ request -> asXML ( ) ; // send the request $ res = $ this -> send_request ( $ packet ) ; // make it to simple-xml-object $ xml = new SimpleXMLElement ( $ res ) ; return $ xml ; }
Get all hosting-information of a domain

@param string $domain domain-name
@returns object SimpleXML object
Get all hosting - information of a domain