[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_finder/src/Table/ -> LinkTable.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Administrator
   5   * @subpackage  com_finder
   6   *
   7   * @copyright   (C) 2011 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\Finder\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   * Link table class for the Finder package.
  22   *
  23   * @since  2.5
  24   */
  25  class LinkTable extends Table
  26  {
  27      /**
  28       * Indicates that columns fully support the NULL value in the database
  29       *
  30       * @var    boolean
  31       * @since  4.0.0
  32       */
  33      protected $_supportNullValue = true;
  34  
  35      /**
  36       * Constructor
  37       *
  38       * @param   DatabaseDriver  $db  Database Driver connector object.
  39       *
  40       * @since   2.5
  41       */
  42      public function __construct(DatabaseDriver $db)
  43      {
  44          parent::__construct('#__finder_links', 'link_id', $db);
  45      }
  46  
  47      /**
  48       * Overloaded store function
  49       *
  50       * @param   boolean  $updateNulls  True to update fields even if they are null.
  51       *
  52       * @return  mixed  False on failure, positive integer on success.
  53       *
  54       * @see     Table::store()
  55       * @since   4.0.0
  56       */
  57      public function store($updateNulls = true)
  58      {
  59          return parent::store($updateNulls);
  60      }
  61  }


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