\DNS

DNS class.

Summary

Methods
Properties
Constants
get_services()
service_exists()
resolve_host()
resolve_db()
resolve_existing_db()
No public properties found
No constants found
set_default_db_connection()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

get_services()

get_services() 

Method returns list of available services.

service_exists()

service_exists(string  $ServiceName) 

Method returns true if the service was defined.

Parameters

string $ServiceName

resolve_host()

resolve_host(  $ServiceName) 

Main page.

Parameters

$ServiceName

resolve_db()

resolve_db(  $ServiceName) 

Method connects to the db.

Parameters

$ServiceName

resolve_existing_db()

resolve_existing_db(  $ServiceName) 

Method connects to the db.

Parameters

$ServiceName

set_default_db_connection()

set_default_db_connection(  $ServiceName) 

Method sets default db connection.

Parameters

$ServiceName