/** * __construct * * This function get single connection to a database and put it in $this->_db * * @no param needed * @no return */ public function __construct() { $this->_db = DB::getResource(); }
/** * __construct * * This function get single connection to a database and put it in $this->_db * * @no param needed * @no return */ public function __construct() { // changed from instance to resource because i called it resource, not instance (: $this->_db = DB::getResource(); }