[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/layouts/joomla/toolbar/ -> separator.php (source)

   1  <?php
   2  
   3  /**
   4   * @package     Joomla.Site
   5   * @subpackage  Layout
   6   *
   7   * @copyright   (C) 2013 Open Source Matters, Inc. <https://www.joomla.org>
   8   * @license     GNU General Public License version 2 or later; see LICENSE.txt
   9   */
  10  
  11  defined('_JEXEC') or die;
  12  
  13  extract($displayData, EXTR_OVERWRITE);
  14  
  15  /**
  16   * Layout variables
  17   * -----------------
  18   * @var   bool    $is_child
  19   * @var   string  $id
  20   * @var   string  $doTask
  21   * @var   string  $class
  22   * @var   string  $text
  23   * @var   string  $btnClass
  24   * @var   string  $tagName
  25   * @var   string  $htmlAttributes
  26   */
  27  ?>
  28  
  29  <?php if ($is_child) : ?>
  30      <?php if (!empty($text)) : ?>
  31          <h6 class="dropdown-header <?php echo $btnClass ?? ''; ?>">
  32              <?php echo $text; ?>
  33          </h6>
  34      <?php else : ?>
  35          <div class="dropdown-divider <?php echo $btnClass ?? ''; ?>"></div>
  36      <?php endif; ?>
  37  <?php endif; ?>


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