| Current Path : /home/bechata/mp/wp-content/uploads/2022/ejn73c/ |
| Current File : /home/bechata/mp/wp-content/uploads/2022/ejn73c/ModelAbstract.php.tar |
home/bechata/mp/wp-content/plugins/wp-githuber-md/src/Models/ModelAbstract.php 0000666 00000001016 15176541130 0023365 0 ustar 00 <?php
/**
* Class ModelAbstract
*
* Models are specifically used for dealing with the data exchange between controller and database.
*
* @author Terry Lin
* @link https://terryl.in/
*
* @package Githuber
* @since 1.0.0
* @version 1.0.0
*/
namespace Githuber\Model;
abstract class ModelAbstract {
/**
* WP DB instance.
*
* @var object
*/
public $db;
/**
* Constructer.
*
* @return void
*/
public function __construct() {
// Get WP DB object.
global $wpdb;
$this->db = &$wpdb;
}
}