roundcubemail/plugins/password/drivers/plesk.php
function get_domain_id($domain)
    {
        $xml = $this->domain_info($domain);
        $id  = intval($xml->site->get->result->id);
        $id  = (is_int($id)) ? $id : false;

        return $id;
    }
function get_domain_id($domain)
    {
        $xml = $this->domain_info($domain);
        $id  = intval($xml->site->get->result->id);
        $id  = (is_int($id)) ? $id : false;

        return $id;
    }
function get_domain_id ( $ domain ) { $ xml = $ this -> domain_info ( $ domain ) ; $ id = intval ( $ xml -> site -> get -> result -> id ) ; $ id = ( is_int ( $ id ) ) ? $ id : false ; return $ id ; }
Get psa-id of a domain

@param string $domain domain-name

@returns bool|int false if failed and integer if successed
Get psa - id of a domain