%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.26 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 : /proc/thread-self/root/var/www/html/old/administrator/components/com_jckman/tables/ |
Upload File : |
<?php
/*------------------------------------------------------------------------
# Copyright (C) 2005-2012 WebxSolution Ltd. All Rights Reserved.
# @license - GPLv2.0
# Author: WebxSolution Ltd
# Websites: http://www.webxsolution.com
# Terms of Use: An extension that is derived from the JoomlaCK editor will only be allowed under the following conditions: http://joomlackeditor.com/terms-of-use
# ------------------------------------------------------------------------*/
defined( '_JEXEC' ) or die;
defined('JPATH_BASE') or die();
class JCKTablePlugin extends JTable
{
/**
* Primary Key
*
* @var int
*/
var $id = null;
/**
* @var varchar
*/
var $title = null;
/**
* @var varchar
*/
var $name = null;
/**
* @var varchar
*/
var $type = null;
/**
* @var varchar
*/
var $icon = null;
/**
* @var tinyint
*/
var $published = null;
/**
* @var tinyint
*/
var $editable = 1;
/**
* @var int
*/
var $checked_out = 0;
/**
* @var datetime
*/
var $checked_out_time = 0;
/**
* @var tinyint unsigned
*/
var $iscore = null;
/**
* @var text
*/
var $acl = null;
/**
* @var text
*/
var $params = null;
function __construct(& $db) {
parent::__construct('#__jckplugins', 'id', $db);
}
public function setParent($pluginName = '')
{
if($pluginName)
{
// Build the query to get the asset id for the parent category.
$sql = $this->_db->getQuery(true);
$sql->select('id')
->from('#__jckplugins')
->where('name = "'.$pluginName. '"');
$id = $this->_db->setQuery($sql)->loadResult();
// Return the asset id.
if($id)
{
$this->parentid = $id;
}
}
}
function bind($array, $ignore = '')
{
if (isset( $array['params'] ) && is_array($array['params']))
{
$registry = new JRegistry();
$registry->loadArray($array['params']);
$array['params'] = (string) $registry;
}
return parent::bind($array, $ignore);
}
}