HummingBirdAnimeClient/app/base/BaseDBModel.php

32 lines
483 B
PHP
Raw Normal View History

<?php
/**
* Base DB model
*/
2015-06-26 16:39:10 -04:00
namespace AnimeClient;
/**
* Base model for database interaction
*/
class BaseDBModel extends BaseModel {
/**
* The query builder object
* @var object $db
*/
protected $db;
/**
* The database connection information array
* @var array $db_config
*/
protected $db_config;
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->db_config = $this->config->database;
}
}
// End of BaseDBModel.php