JArrayHelperTest::testSortObjects
Test sorting an array of objects.
Signature
public function testSortObjects(array
$input,
mixed
$key,
mixed
$direction,
string
$casesensitive,
string
$locale,
array
$expect,
string
$message,
boolean
$defaults )
Parameters
-
$input
- Input array of objects
-
$key
- Key to sort on
-
$direction
- Ascending (1) or Descending(-1)
-
$casesensitive
- @todo
-
$locale
- @todo
-
$expect
- The expected results
-
$message
- The failure message
-
$defaults
- Use the defaults (true) or full argument list
Returns
- void