ez projects / bcarraysort
| UNIX name | Owner | Status | Version | Compatible with |
|---|---|---|---|---|
| bcarraysort | Brookins Consulting | stable | 1.0.0 | 4.0+ |
This extension provides wrapper for PHP array sort functions:
sort(), rsort(), asort(), arsort(), ksort(), krsort(), natsort(), and natcasesort().
Also the optional sort_flags parameter is also implemented (as string).
Read More: http://www.php.net/manual/en/ref.array.php
Brookins Consulting is proud to announce the release of the array sort operator!
You can obtain the source code for this extension on GitHub
https://github.com/brookinsconsulting/bcarraysort
Alternatively you may obtain a copy of the latest packaged edition from the projects.ez.no downloads for this project.
This branch of the operator is eZ Publish 4.0+ and PHP5+ Compatible
Version 1.0.0
A brief on the features offered by this eZ Publish extension.
BC Simple Subscription is a simple solution to provide user content access subscriptions simply using default eZ Publish features. This extension depends on the eZ Publish webshop.
ArraySortOperator ================= Wrapper for PHP array sort functions: sort([$flags]) rsort([$flags]) asort([$flags]) arsort([$flags]) ksort([$flags]) krsort([$flags]) natsort() natcasesort() Except for the last two operators, there is an optional argument of type string, which can be either 'regular', 'numeric', 'string', or 'locale_string'. See also: http://www.php.net/manual/en/ref.array.php Example: {def $array = array('zero', 'one', 'two')} {* $array = Array( 0 => 'zero', 1 => 'one', 2 => 'two', ) *} {def $sorted = $array|sort('string')} {* sort reorders keys: $sorted = Array( 0 => 'one', 1 => 'two', 2 => 'zero', ) *} {def $asorted = $array|asort('string')} {* asort preserves keys: $asorted = Array( 1 => 'one', 2 => 'two', 0 => 'zero', ) *}
BC Array Sort sources migrate to GitHub
Monday 28 November 2011 11:04
Brookins Consulting