* @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(); } }