Your selection

You have 26 extensions in your download pack.

Rating

  • Currently 5/5 Stars.

Share

Stats

  • 3885 views
  • 2238 downloads

Zikula / Plugins

Sort By Smarty 1.1

Extension type: Plugin
Extension originally created by mumuri on Jan 17, 2009

Description

This SortBy plugin allow you to sort an array according to a given field. This is a good sample of an array modifier.

Sample use

In the profile module, if you want to sort the icon in a specific way, you can use this

$accountlinks|@sortby:"icon"

Support Information:

Sorts an array of named arrays by the supplied fields,
code by dholmes at jccc d0t net
taken from http://au.php.net/function.uasort
modified by cablehead, messju and pscs at http://www.phpinsider.com/smarty-forum 

Screenshots

Support Info

TargetGroup
Beginner
Status
Normal

Sort By Smarty 1.1

Options

Version created by mumuri on Sep 27, 2009
Core support
(not supported)
(not supported)
(not supported)
Changelog
broken link
Status
Normal

1.0

Options

Version created by mumuri on Jan 17, 2009
Core support
(not supported)
(not supported)
(not supported)
Changelog
Initial version
Status
Obsolete

Comments

Write us your opinion about Sort By Smarty. Bug reports and feature request should be submitted at the project's tracker though.

 Feed for the comments to Sort By Smarty

Comment by:
mumuri's Avatar
mumuri
27 Sep 2009 - 04:38AM
[Version: 1.1]
direct downlink for sortby smarty
http://code.zikula.org/core/ticket/1343
Comment by:
mumuri's Avatar
mumuri
02 Dec 2009 - 04:44AM
[Version: 1.1]
not that this Smarty is now included in zikula core

Note

Only registered users are allowed to add reviews.
Register an account or Log in.

Reviews

You tried Sort By Smarty out or are using it? Share your experience and create a review about Sort By Smarty.

Note

Only registered users are allowed to add reviews.
Register an account or Log in.

History

This graph shows how views and downloads developed. It also contains several events in form of vertical bars. Thereby are local events, as a new version or a comment, and global events, like for example new core releases or other appointments.

Powered by ModuleStudio 0.4.10