You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mods-for-HESK-Netsyms/api/dao/Connection.php

26 lines
506 B
PHP

<?php
/**
* Created by PhpStorm.
* User: user
* Date: 1/16/17
* Time: 10:18 PM
*/
namespace DataAccess;
use mysqli;
class Connection {
static function connect($hesk_settings) {
//-- Return mysqli_connection
}
/**
* @param $mysqliConnection mysqli The MySQLi connection obtained from Connection::connect
* @return bool true if connection closed, false otherwise
*/
static function close($mysqliConnection) {
return $mysqliConnection->close();
}
}