[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/components/com_contact/src/Service/ -> Category.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Site
   5   * @subpackage  com_contact
   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\Contact\Site\Service;
  12  
  13  use Joomla\CMS\Categories\Categories;
  14  
  15  // phpcs:disable PSR1.Files.SideEffects
  16  \defined('_JEXEC') or die;
  17  // phpcs:enable PSR1.Files.SideEffects
  18  
  19  /**
  20   * Contact Component Category Tree
  21   *
  22   * @since  1.6
  23   */
  24  class Category extends Categories
  25  {
  26      /**
  27       * Class constructor
  28       *
  29       * @param   array  $options  Array of options
  30       *
  31       * @since   1.6
  32       */
  33      public function __construct($options = array())
  34      {
  35          $options['table']      = '#__contact_details';
  36          $options['extension']  = 'com_contact';
  37          $options['statefield'] = 'published';
  38  
  39          parent::__construct($options);
  40      }
  41  }


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