CoreFiles by mySites.guru
TaggableTableInterface.php62 lines, 1,326 bytes, from Joomla_4.2.1-rc2-Release_Candidate-Full_Package.zip
Raw History Compare with 4.2.1-rc1
md5
ad2b85203b1f2c3d006300c921e48efd
sha1
7e233ea957f532adad9a74ba6697af1c9249a720
sha256
f3cb4b47794e56e86423558a8b384e3d0672a4cbe75117d43f943fdb04422738
<?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;

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 5 releases, Joomla 4.2.0-beta3 to 4.2.1-rc2. See them all, or every version of this file.