| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/icd/components/com_staffmaster/models/ |
Upload File : |
<?php
/**
* File: settings.php
*
* Staff Master 0_7_5_5
*
* Staff Master - Staff Members and Departments Manager
*
* @version 0.7.5.5
* @package StaffMaster_0_7_5_5
* @subpackage: models
* @copyright (C) 2007-2008 Travis Hubbard
* @license http://www.gnu.org/licenses/ GNU/GPL v3
* @link http://www.systemsunited.net/
**/
defined( '_JEXEC' ) or die( 'Restricted access' );
jimport( 'joomla.application.component.model' );
/**
* Settings Model Class
* @package StaffMaster_0_7_5_1
*/
class StaffModelSettings extends JModel {
/**
* Holds settings data and params
*
* @access private
* @var stdObj
*/
var $_settings = null;
/**
* getList : returns all settings
*
* @return mixed
*/
function getList() {
if( !$this->_settings ) {
$query = "SELECT * FROM #__staff_settings";
$this->_db->setQuery( $query , 0 , 1 );
$this->_settings = $this->_db->loadObject();
}
return $this->_settings;
}
}
?>