芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/administrator.8/components/com_mails/src/Table/TemplateTable.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Component\Mails\Administrator\Table; \defined('_JEXEC') or die; use Joomla\CMS\Table\Table; use Joomla\Database\DatabaseDriver; /** * Mail Table class. * * @since 4.0.0 */ class TemplateTable extends Table { /** * An array of key names to be json encoded in the bind function * * @var array * @since 4.0.0 */ protected $_jsonEncode = ['attachments', 'params']; /** * Constructor * * @param DatabaseDriver $db Database connector object * * @since 4.0.0 */ public function __construct(DatabaseDriver $db) { parent::__construct('#__mail_templates', array('template_id', 'language'), $db); } }