lithium\tests\integration\test\FilterTest::_arrayDeleteByKey PHP Method

_arrayDeleteByKey() protected method

protected _arrayDeleteByKey ( &$array, $deleteKey, $useOldKeys = false )
    protected function _arrayDeleteByKey(&$array, $deleteKey, $useOldKeys = false)
    {
        unset($array[$deleteKey]);
        if (!$useOldKeys) {
            $array = array_values($array);
        }
        return true;
    }