[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_installer/src/Table/ -> UpdatesiteTable.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  com_installer
   6   *
   7   * @copyright   (C) 2019 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\Installer\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   * Downloadkey Table class.
  22   *
  23   * @since  4.0.0
  24   */
  25  class UpdatesiteTable extends Table
  26  {
  27      /**
  28       * Indicates that columns fully support the NULL value in the database
  29       *
  30       * @var    boolean
  31       *
  32       * @since  4.1.1
  33       */
  34      protected $_supportNullValue = true;
  35  
  36      /**
  37       * Constructor
  38       *
  39       * @param   DatabaseDriver  $db  Database connector object
  40       *
  41       * @since   4.0.0
  42       */
  43      public function __construct(DatabaseDriver $db)
  44      {
  45          $this->typeAlias = 'com_installer.downloadkey';
  46  
  47          parent::__construct('#__update_sites', 'update_site_id', $db);
  48      }
  49  }


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