CoreFiles by mySites.guru
FeaturedTable.php40 lines, 1,013 bytes, from Joomla_5.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 4.4.0-beta3
md5
c759c1c83a05ceb07395e0e86fdcb1d1
sha1
4f8f5bd9b3e03bfa6fdba9fc67f269cc6d01eb22
sha256
4cf68bb1cb4521d1d8c5bf111e2cc448681b6833f5c97dc7462cff2c229c3f1e
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_content
 *
 * @copyright   (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Component\Content\Administrator\Table;

use Joomla\CMS\Table\Table;
use Joomla\Database\DatabaseDriver;
use Joomla\Event\DispatcherInterface;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * Featured Table class.
 *
 * @since  1.6
 */
class FeaturedTable extends Table
{
    /**
     * Constructor
     *
     * @param   DatabaseDriver        $db          Database connector object
     * @param   ?DispatcherInterface  $dispatcher  Event dispatcher for this table
     *
     * @since   1.6
     */
    public function __construct(DatabaseDriver $db, DispatcherInterface $dispatcher = null)
    {
        parent::__construct('#__content_frontpage', 'content_id', $db, $dispatcher);
    }
}

The same content is in 37 releases, Joomla 5.0.0-beta1 to 5.2.0-alpha3. See them all, or every version of this file.