primo commit
This commit is contained in:
59
administrator/components/com_jem/tables/jem_attachments.php
Normal file
59
administrator/components/com_jem/tables/jem_attachments.php
Normal file
@ -0,0 +1,59 @@
|
||||
<?php
|
||||
/**
|
||||
* @package JEM
|
||||
* @copyright (C) 2013-2024 joomlaeventmanager.net
|
||||
* @copyright (C) 2005-2009 Christoph Lukes
|
||||
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Table\Table;
|
||||
|
||||
/**
|
||||
* JEM attachments table class
|
||||
*
|
||||
* @package JEM
|
||||
*
|
||||
*/
|
||||
class jem_attachments extends Table
|
||||
{
|
||||
/**
|
||||
* Primary Key
|
||||
* @var int
|
||||
*/
|
||||
public $id = null;
|
||||
/** @var int */
|
||||
public $file = '';
|
||||
/** @var int */
|
||||
public $object = '';
|
||||
/** @var string */
|
||||
public $name = null;
|
||||
/** @var string */
|
||||
public $description = null;
|
||||
/** @var string */
|
||||
public $icon = null;
|
||||
/** @var int */
|
||||
public $frontend = 1;
|
||||
/** @var int */
|
||||
public $access = 0;
|
||||
/** @var int */
|
||||
public $ordering = 0;
|
||||
/** @var string */
|
||||
public $added = '';
|
||||
/** @var int */
|
||||
public $added_by = 0;
|
||||
|
||||
|
||||
public function __construct(& $db)
|
||||
{
|
||||
parent::__construct('#__jem_attachments', 'id', $db);
|
||||
}
|
||||
|
||||
// overloaded check function
|
||||
public function check()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user