CoreFiles by mySites.guru
TaggableTableInterface.php63 lines, 1,250 bytes, from Joomla_4.0.0-beta7-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta6
md5
f563ec1967f9a3cc8d69e73b58c1c799
sha1
4e0adf1c9f3472159054d5ab4da2243cf54f1868
sha256
ae397e5f4844e2848d62b66dabf111a4c60ad67cb317efb4fb22619e8fad2e40
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2020 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Tag;

\defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Helper\TagsHelper;
use Joomla\CMS\Table\TableInterface;

/**
 * Interface for a taggable Table class
 *
 * @since  3.10.0
 */
interface TaggableTableInterface extends TableInterface
{
	/**
	 * Get the type alias for the tags mapping table
	 *
	 * The type alias generally is the internal component name with the
	 * content type. Ex.: com_content.article
	 *
	 * @return  string  The alias as described above
	 *
	 * @since   4.0.0
	 */
	public function getTypeAlias();

	/**
	 * Get the tags helper
	 *
	 * @return  ?TagsHelper  The tags helper object
	 *
	 * @since   4.0.0
	 */
	public function getTagsHelper(): ?TagsHelper;

	/**
	 * Set the tags helper
	 *
	 * @param   TagsHelper  $tagsHelper  The tags helper object
	 *
	 * @return  void
	 *
	 * @since   4.0.0
	 */
	public function setTagsHelper(TagsHelper $tagsHelper): void;

	/**
	 * Clears a set tags helper
	 *
	 * @return  void
	 *
	 * @since   4.0.0
	 */
	public function clearTagsHelper(): void;
}

The same content is in 50 releases, Joomla 4.0.0-beta7 to 4.2.0-beta2. See them all, or every version of this file.