%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.14 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/old/components/com_phocadownload/models/ |
Upload File : |
<?php
/*
* @package Joomla.Framework
* @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*
* @component Phoca Component
* @copyright Copyright (C) Jan Pavelka www.phoca.cz
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License version 2 or later;
*/
defined('_JEXEC') or die();
jimport('joomla.application.component.model');
class PhocaDownloadModelPhocaDownloadLinkCat extends JModelLegacy
{
//var $_data_sec;
var $_data_cat;
function __construct() {
parent::__construct();
}
/*
function &getDataSec() {
if ($this->_loadDataSec()) {
} else {
$this->_initDataSec();
}
return $this->_data_sec;
}*/
function &getDataCat($sectionList) {
if ($this->_loadDataCat($sectionList)) {
} else {
$this->_initDataCat();
}
return $this->_data_cat;
}
/*
function _loadDataSec() {
if (empty($this->_data_sec)) {
$query = 'SELECT s.id, s.title'
. ' FROM #__phocadownload_sections AS s'
. ' WHERE s.published = 1'
. ' ORDER BY s.ordering';
$this->_db->setQuery($query);
$this->_data_sec = $this->_db->loadObjectList();
return (boolean) $this->_data_sec;
}
return true;
}*/
/*
function _loadDataCat($sectionList) {
if (empty($this->_data_cat)) {
$query = 'SELECT c.id, c.title, c.section'
.' FROM #__phocadownload_categories AS c'
.' WHERE c.section IN ( \''.$sectionList.'\' )'
.' AND c.published = 1'
.' ORDER BY c.ordering';
$this->_db->setQuery($query);
$this->_data_cat = $this->_db->loadObjectList();
return (boolean) $this->_data_cat;
}
return true;
}*/
/*
function _initDataSec() {
if (empty($this->_data_sec)) {
return (boolean) array();
}
return true;
}*/
function _initDataCat() {
if (empty($this->_data_cat)) {
return (boolean) array();
}
return true;
}
}
?>