Next:
HELPER_arrayInsertAfterKeynumber
Up:
./inc/helper.php
Previous:
HELPER_arrayReOrderKeynumbers
Contents
HELPER_arrayInsertBeforeKeynumber
Description:
Inserts a value into an array (that has simple numbers as keys) before a given key.
Parameter:
inArray: The input array.
beforeKeynumber: The key number the value should be inserted before.
val: The value that should be inserted.
Returns:
New array with the new value inserted.