CoreFiles by mySites.guru
TemplateTable.php43 lines, 902 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
92cc735cb009a8f4d391aa86e9a96a96
sha1
bed83a15cfdd770b160196eb9b228b3e43d803f6
sha256
4bd129a6725f3eba0107632e108c840098f227ed676a545f7f2578d06675469f
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_mails
 *
 * @copyright   Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @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  3.3
	 */
	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);
	}
}

No other release has this exact content. See every version of this file.