PHP Classes

File: modules/cms/widgets/templatelist/partials/_sorting-options.php

Recommend this page to a friend!
  Packages of Luke Towers   Winter   modules/cms/widgets/templatelist/partials/_sorting-options.php   Download  
File: modules/cms/widgets/templatelist/partials/_sorting-options.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Winter
Content management system that uses MVC
Author: By
Last change:
Date: 7 months ago
Size: 539 bytes
 

Contents

Class file image Download
<?php foreach ($this->sortingProperties as $propertyName => $propertyTitle): ?>
<li
        role="presentation"
        <?php if ($this->getSortingProperty() == $propertyName): ?>
class="active"
        <?php endif ?>
>
        <a role="menuitem" tabindex="-1" href="javascript:;" data-stripe-load-indicator data-request="<?= $this->getEventHandler('onApplySorting') ?>" data-request-data="sortProperty: '<?= e($propertyName) ?>'">
            <?= e(trans($propertyTitle)) ?>
</a>
    </li>
<?php endforeach ?>