[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_content/src/Table/ -> FeaturedTable.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  com_content
   6   *
   7   * @copyright   (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
   8   * @license     GNU General Public License version 2 or later; see LICENSE.txt
   9   */
  10  
  11  namespace Joomla\Component\Content\Administrator\Table;
  12  
  13  use Joomla\CMS\Table\Table;
  14  use Joomla\Database\DatabaseDriver;
  15  
  16  // phpcs:disable PSR1.Files.SideEffects
  17  \defined('_JEXEC') or die;
  18  // phpcs:enable PSR1.Files.SideEffects
  19  
  20  /**
  21   * Featured Table class.
  22   *
  23   * @since  1.6
  24   */
  25  class FeaturedTable extends Table
  26  {
  27      /**
  28       * Constructor
  29       *
  30       * @param   DatabaseDriver  $db  Database connector object
  31       *
  32       * @since   1.6
  33       */
  34      public function __construct(DatabaseDriver $db)
  35      {
  36          parent::__construct('#__content_frontpage', 'content_id', $db);
  37      }
  38  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer