/** * Method setDatabase() * * Define the database for store the NASP data * * @param string $hostname The hostname or IP of the server's database * @param string $database The database's name * @param string $user The database'user * @param string $pass The database's password for the user specify * @access public */ public function setDatabase($hostname = null, $database = null, $user = null, $pass = null) { //Makes the connection self::$conn = DBConnection::open($hostname, $database, $user, $pass); }