File Manager

Current Directory: /home/astoriaah/www/plugins/system/shlib/shl_packages/mvc/models
Viewing File: /home/astoriaah/www/plugins/system/shlib/shl_packages/mvc/models/admin.php
<?php /** * Shlib - programming library * * @author Yannick Gaultier * @copyright (c) Yannick Gaultier 2020 * @package shlib * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @version 0.4.0.716 * @date 2020-12-07 */ // Security check to ensure this file is being included by a parent file. defined('_JEXEC') or die; abstract Class ShlMvcModel_Admin extends \JModelAdmin { /** * Constructor * * @param array $config An array of configuration options (name, state, dbo, table_path, ignore_request). * * @since 11.1 */ public function __construct($config = array()) { parent::__construct($config); // Set the model dbo if (!array_key_exists('dbo', $config)) { $this->_db = \JFactory::getDbo(); } } }