Qoob Portfolio
The open qoob is a php mvc framework created to speed up the process of creating dynamic sites. This is the code running this website!
The open qoob is a php mvc framework created to speed up the process of creating dynamic sites. This is the code running this website!
<?php
/**
* project model
*
* @author andrew harrison <andrew@harrison.nu>
* @copyright creative commons attribution-shareAlike 3.0 unported
* @license http://creativecommons.org/licenses/by-sa/3.0/
* @version 0.1.1
* @package app
* @subpackage model
*/
namespace app\model;
class portfolio_model extends \qoob\core\db\mysqli {
/**
* constructor
* connect to the db based on config vars
*/
function __construct() {
$this->init(
\library::get('CONFIG.DB.host'),
\library::get('CONFIG.DB.user'),
\library::get('CONFIG.DB.pass'),
\library::get('CONFIG.DB.name'),
true,
true
);
$this->connect();
}
}