Documentation

Class libraries

array

array class library to work/process PHP arrays.

File: tokernel.framework/lib/array.lib.php

Library methods

int | bool array_key_pos(mixed $needle, array $array)

Return position of given key in array.

array | bool array_key_rename(string $ext_key, string $new_key, array $arr)

Rename the given key in array.

bool is_assoc(array $arr)

Return true if the given array is associative. False if not.

bool is_elements_empty(array $array)

Check if all values of array elements is empty