Revisions for framework/Util/Array.php

Location: [ Horde ] / framework / Util / Array.php View: Logs | Branches | Statistics
Search Revisions:
Show diffs between and
Show Differences shows diffs to the previous revision. If you select a revision by clicking its row, Show Differences will show the differences to the selected row.
Show Branch:
  Revision Date Author Log Message
1.44 (+3 -4 lines) 08/05/2008 03:47 PM Michael M Slusarz slusarz

Remove use of array_unique() in framework.

1.26.2.11 FRAMEWORK_3 (+2 -2 lines) 01/02/2008 06:30 AM Jan Schneider jan

Happy New Year

Tags: HORDE_3_3, RELEASE_0_1_0, HORDE_3_3_RC1, HORDE_3_2_2, HORDE_3_2_1, HORDE_3_2, HORDE_3_2_RC4, HORDE_3_2_RC3, HORDE_3_2_RC2

1.43 (+2 -2 lines) 01/02/2008 06:12 AM Jan Schneider jan

Happy New Year

1.26.2.10 FRAMEWORK_3 (+114 -24 lines) 12/20/2007 08:50 AM Jan Schneider jan

Merge from HEAD.

1.42 (+24 -1 lines) 07/24/2007 02:04 PM Chuck Hagenbuch chuck

Add sorter functions for array keys.

Tags: BEFORE_MERGE_3_2, HORDE_3_2_RC1, HORDE_3_2_ALPHA

1.41 (+47 -10 lines) 07/20/2007 04:57 PM Chuck Hagenbuch chuck

Replace create_function usage with a helper object that can keep track of the array key that we're sorting by.

1.40 (+8 -4 lines) 07/20/2007 03:15 PM Chuck Hagenbuch chuck

- make sure String.php is loaded in Array.php
- add a test for Horde_Array::arraySort
- fix bug in Horde_Array::arraySort where auto-detecting the first key failed

1.39 (+5 -1 lines) 04/18/2007 06:45 PM Chuck Hagenbuch chuck

Catch empty arrays before passing them to array_combine.

1.38 (+5 -8 lines) 04/12/2007 01:11 PM Chuck Hagenbuch chuck

- Don't take an array by reference unless we're really modifying it
- No need to return by reference from Horde_Array::getRectangle
- Simplify Horde_Array::valuesToKeys by using Horde_Array::combine

1.26.2.9 FRAMEWORK_3 (+4 -4 lines) 01/02/2007 08:54 AM Jan Schneider jan

Happy New Year

Tags: HORDE_3_1_9, HORDE_3_1_8, HORDE_3_1_7, HORDE_3_1_6, HORDE_3_1_5, HORDE_3_1_4, HORDE_3_1_4_RC1

1.37 (+2 -2 lines) 01/02/2007 07:47 AM Jan Schneider jan

Happy New Year

1.36 (+2 -4 lines) 01/01/2007 07:40 PM Jan Schneider jan

Assign copyright to The Horde Project for those copyright holders that already agreed to it.

1.35 (+2 -2 lines) 09/05/2006 04:03 AM Jan Schneider jan

Fix @since

1.34 (+29 -2 lines) 09/04/2006 03:17 AM Michael M Slusarz slusarz

Add array_merge_recursive_overwrite().
Fix typo.

1.33 (+3 -3 lines) 03/13/2006 01:13 AM Michael M Slusarz slusarz

standardize my email address.

1.26.2.8 FRAMEWORK_3 (+4 -4 lines) 01/01/2006 04:28 PM Jan Schneider jan

Happy new year

Tags: HORDE_3_1_3, HORDE_3_1_2, HORDE_3_1_1, HORDE_3_1, HORDE_3_1_RC3, HORDE_3_1_RC2, HORDE_3_1_RC1

1.32 (+4 -4 lines) 01/01/2006 04:10 PM Jan Schneider jan

Happy new year\!

1.26.2.7 FRAMEWORK_3 (+1 -1 lines) 10/18/2005 07:01 AM Jan Schneider jan

Merged from HEAD.

1.26.2.6 FRAMEWORK_3 (+1 -15 lines) 07/03/2005 01:22 AM Matt Selsky selsky

MFH: Remove "@access public".

Tags: HORDE_3_0_12, HORDE_3_0_11, HORDE_3_0_10, HORDE_3_0_9, HORDE_3_0_8, HORDE_3_0_7, HORDE_3_0_6, HORDE_3_0_6_RC1, HORDE_3_0_5, HORDE_3_0_5_RC2, HORDE_3_0_5_RC1

1.31 (+1 -15 lines) 07/03/2005 01:15 AM Matt Selsky selsky

Remove "@access public".

Tags: BEFORE_MERGE_3_1

1.26.2.5 FRAMEWORK_3 (+2 -2 lines) 05/26/2005 07:01 PM Matt Selsky selsky

MFH: Clean up phpdoc.

1.30 (+2 -2 lines) 05/26/2005 06:19 PM Matt Selsky selsky

Clean up phpdoc.

1.26.2.4 FRAMEWORK_3 (+5 -5 lines) 05/09/2005 10:01 PM Matt Selsky selsky

MFH: "optional" not needed in phpdoc.

1.29 (+5 -5 lines) 05/09/2005 09:55 PM Matt Selsky selsky

"optional" not needed in phpdoc.

1.26.2.3 FRAMEWORK_3 (+0 -0 lines) 01/12/2005 10:54 AM Chuck Hagenbuch chuck

MFH

Tags: HORDE_3_0_4, HORDE_3_0_4_RC2, HORDE_3_0_4_RC1, HORDE_3_0_3, HORDE_3_0_3_RC1

1.26.2.2 FRAMEWORK_3 (+1 -2 lines) 01/11/2005 03:44 PM Chuck Hagenbuch chuck

MFH: explicit includes

1.28 (+1 -2 lines) 01/11/2005 03:17 PM Chuck Hagenbuch chuck

Clarify the code inclusion requirements of all of these files. Strip @version while I'm at it if it's there.

1.27 (+3 -3 lines) 01/03/2005 08:09 AM Jan Schneider jan

Happy New Year

1.26.2.1 FRAMEWORK_3 (+5 -5 lines) 01/03/2005 07:19 AM Jan Schneider jan

Happy New Year

Tags: HORDE_3_0_2, HORDE_3_0_1

1.26 (+3 -3 lines) 12/20/2004 01:52 PM eraserhd

* Don't assume keys are numeric when picking the first key for sorting.

Tags: FRAMEWORK_3, HORDE_3_0

1.25 (+7 -3 lines) 11/24/2004 06:14 PM Chuck Hagenbuch chuck

Locale-safe array sorting.

Submitted by: Vahid Ghafarpour <vahid@ghafarpour.com>

Tags: HORDE_3_0_RC3

1.24 (+17 -15 lines) 08/31/2004 08:41 AM Jan Schneider jan

Add option to not keep key value associations in sortArray().

1.23 (+3 -3 lines) 07/17/2004 10:44 AM Jan Schneider jan

phpdoc fixes
Submitted by: Andrew Coleman <mercury@appisolutions.net>

1.22 (+7 -6 lines) 06/13/2004 09:02 PM Chuck Hagenbuch chuck

Fix behavior with partially found key paths.

1.21 (+2 -23 lines) 04/22/2004 02:38 PM Chuck Hagenbuch chuck

Remove Horde_Array::grep() in favor of just calling preg_grep().

1.20 (+3 -4 lines) 04/22/2004 02:08 PM Chuck Hagenbuch chuck

This seems like a *much* more efficient array grep implementation to me.
Anyone see any problems with it? Since it's so simple and all necessary functionality
is in PHP 4.2.0+, any objections to me just replacing calls to Horde_Array::grep()
with preg_grep() calls?

1.19 (+29 -2 lines) 04/22/2004 01:58 PM Chuck Hagenbuch chuck

Add a Horde_Array::combine() wrapper around array_combine() that emulates
it for PHP4, and use it in Kronolith.

Bug: 106

1.18 (+20 -16 lines) 04/13/2004 05:32 PM Michael M Slusarz slusarz

phpdoc.
condense a case

1.17 (+5 -5 lines) 01/01/2004 10:14 AM Jan Schneider jan

Happy new year everyone.

Tags: HORDE_3_0_ALPHA

1.16 (+3 -3 lines) 10/25/2003 11:41 AM Jan Schneider jan

Bugfix.

1.15 (+24 -2 lines) 10/25/2003 11:01 AM Jan Schneider jan

Add getRectangle().

1.14 (+25 -2 lines) 10/17/2003 05:42 PM mdjukic

function to map values to keys

1.13 (+6 -5 lines) 10/13/2003 11:10 AM Chuck Hagenbuch chuck

minor comment grammar/wording fixes

1.12 (+3 -3 lines) 09/30/2003 04:24 PM Jan Schneider jan

Move Array.php into Horde_Util package and fix package xml for
Horde_Framework and Horde_Util.

1.11 (+9 -8 lines) 09/01/2003 11:26 AM Chuck Hagenbuch chuck

nits

1.10 (+3 -3 lines) 09/01/2003 07:46 AM Jan Schneider jan

The argument order is opposite as expected.

1.9 (+5 -4 lines) 09/01/2003 07:45 AM mdjukic

comments

1.8 (+24 -2 lines) 09/01/2003 07:35 AM Jan Schneider jan

Add String::grep() and Array::grep()

1.7 (+7 -3 lines) 08/23/2003 03:00 PM Jan Schneider jan

Stop recursion if requested key does not exist.

1.6 (+3 -3 lines) 08/21/2003 11:49 AM mdjukic

missing class

1.5 (+17 -12 lines) 08/21/2003 11:25 AM mdjukic

tweak how this function works, allow setting of end key value

1.4 (+23 -2 lines) 08/21/2003 09:06 AM mdjukic

array function to fetch an end key from a path of keys in a multi level array

1.3 (+23 -2 lines) 08/21/2003 07:54 AM mdjukic

move getArrayParts() to Horde_Array, fix up the image field naming in Form.php

1.2 (+27 -2 lines) 08/01/2003 04:03 PM Michael M Slusarz slusarz

Move prepareAddressList() to Horde_Array::.

1.1 07/25/2003 02:16 AM Michael M Slusarz slusarz

Add Horde_Array:: class.