ispman/lib/ISPMan/SOAP/methods showDomains_soap.pl,NONE,1.1

Atif Ghaffar <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/lib/ISPMan/SOAP/methods
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18692

Added Files:
	showDomains_soap.pl 
Log Message:


--- NEW FILE: showDomains_soap.pl ---
sub showDomains_soap {

    my $type = shift;

    $filters = {
        'primary' => 'ispmanDomainType=primary',
        'slave'   => 'ispmanDomainType=slave',
        'nodns'   => 'ispmanDomainType=nodns',
        'replica' => 'ispmanDomainType=replica'
    };

    my $domains =
      $ispman->makeDomainHash( $ispman->getDomains( $filters->{$type} ) );
	my $_text="";
    for ( keys %$domains ) {
        $_text.="$_\n";
    }
	return $_text;
}




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.