src/DB/PDO/DataSourceName.php
public static function renderStatic( $driver, $database, $host = NULL, $port = NULL, $username = NULL, $password = NULL ){
		$dsn	= new self( $driver, $database );
		$dsn->setHost( $host );
		$dsn->setPort( $port );
		$dsn->setUsername( $username );
		$dsn->setPassword( $password );
		return $dsn->render();
	}
public static function renderStatic( $driver, $database, $host = NULL, $port = NULL, $username = NULL, $password = NULL ){
		$dsn	= new self( $driver, $database );
		$dsn->setHost( $host );
		$dsn->setPort( $port );
		$dsn->setUsername( $username );
		$dsn->setPassword( $password );
		return $dsn->render();
	}
public static function renderStatic ( $ driver , $ database , $ host = NULL , $ port = NULL , $ username = NULL , $ password = NULL ) { $ dsn = new self ( $ driver , $ database ) ; $ dsn -> setHost ( $ host ) ; $ dsn -> setPort ( $ port ) ; $ dsn -> setUsername ( $ username ) ; $ dsn -> setPassword ( $ password ) ; return $ dsn -> render ( ) ; }
Returns Data Source Name String.
@access		public
@static
@param		string		$driver			Database Driver (cubrid|dblib|firebird|informix|mysql|mssql|oci|odbc|pgsql|sqlite|sybase)
@param		string		$database		Database Name
@param		string		$host			Host Name or URI
@param		int			$port			Host Port
@param		string		$username		Username
@param		string		$password		Password
@return		string
Returns Data Source Name String .