| Server IP : 104.21.84.107 / Your IP : 104.23.197.208 Web Server : Apache/2.4.63 (Ubuntu) System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.4.5 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/idiomas/libraries/gantry5/src/classes/Gantry/Joomla/Contact/ |
Upload File : |
<?php
/**
* @package Gantry5
* @author Tiger12 http://tiger12.com
* @originalCreator RocketTheme (Gantry Framework)
* @currentDeveloper Tiger12, LLC
* @copyright Copyright (C) 2007 - 2022 Tiger12, LLC
* @license GNU/GPLv2 and later
*
* http://www.gnu.org/licenses/gpl-2.0.html
*/
namespace Gantry\Joomla\Contact;
use Gantry\Joomla\Object\AbstractObject;
use Joomla\CMS\Table\Table;
/**
* Class Contact
* @package Gantry\Joomla\Contact
*/
class Contact extends AbstractObject
{
/** @var array */
static protected $instances = [];
/** @var string */
static protected $table = 'ContactTable';
static protected $tablePrefix = 'Joomla\Component\Contact\Administrator\Table\\';
/** @var string */
static protected $order = 'id';
public function exportSql()
{
return $this->getCreateSql(['asset_id', 'checked_out', 'checked_out_time', 'created_by', 'modified_by', 'publish_up', 'publish_down', 'version', 'hits']) . ';';
}
/**
* Method to get the table object.
*
* @return Table The table object.
*/
protected static function getTable()
{
if (\JVersion::MAJOR_VERSION === 3) {
require_once JPATH_ADMINISTRATOR . '/components/com_contact/tables/contact.php';
static::$table = 'Contact';
static::$tablePrefix = 'ContactTable';
}
return parent::getTable();
}
}