[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/layouts/joomla/searchtools/default/ -> list.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  $data = $displayData;
  14  
  15  // Load the form list fields
  16  $list = $data['view']->filterForm->getGroup('list');
  17  ?>
  18  <?php if ($list) : ?>
  19      <div class="ordering-select">
  20          <?php foreach ($list as $fieldName => $field) : ?>
  21              <div class="js-stools-field-list">
  22                  <span class="visually-hidden"><?php echo $field->label; ?></span>
  23                  <?php echo $field->input; ?>
  24              </div>
  25          <?php endforeach; ?>
  26      </div>
  27  <?php endif; ?>


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