DBConnectionString.php 977 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /** @package verysimple::DB::Reflection */
  3. /**
  4. * DBConnectionString specifies the connection information
  5. *
  6. * @package verysimple::DB::Reflection
  7. * @author Jason Hinkle
  8. * @copyright 1997-2007 VerySimple, Inc.
  9. * @license http://www.gnu.org/licenses/lgpl.html LGPL
  10. * @version 1.0
  11. */
  12. class DBConnectionString
  13. {
  14. public $Host;
  15. public $Port;
  16. public $Username;
  17. public $Password;
  18. public $DBName;
  19. public $Type;
  20. /**
  21. * Create a new instance of a DBConnectionString
  22. *
  23. * @access public
  24. * @param string $host
  25. * @param string $port
  26. * @param string $username
  27. * @param string $password
  28. * @param string $$dbname
  29. */
  30. function __construct($host = "", $port = "", $username = "", $password = "", $dbname = "", $type = "mysql")
  31. {
  32. $this->Host = $host;
  33. $this->Port = $port;
  34. $this->Username = $username;
  35. $this->Password = $password;
  36. $this->DBName = $dbname;
  37. $this->Type = $type;
  38. }
  39. }
  40. ?>