JArrayHelperTest::testGetValue
Test get value from an array.
Signature
public function testGetValue(array
$input,
mixed
$index,
mixed
$default,
string
$type,
array
$expect,
string
$message,
bool
$defaults )
Parameters
-
$input
- Input array
-
$index
- Element to pull, either by association or number
-
$default
- The defualt value, if element not present
-
$type
- The type of value returned
-
$expect
- The expected results
-
$message
- The failure message
-
$defaults
- Use the defaults (true) or full argument list
Returns
- void