Procedural File: dftk_misc_fct.php
Source Location: /utilityfct/dftk_misc_fct.php
Classes:
Page Details:
Tags:
dftk_array_del_value [line 136]
array dftk_array_del_value(
array $tab_orig, mixed $value)
|
|
Delete a specified value in an array Delete each occurence of a specified value in an array and reindex it.
Tags:
Parameters
| array |
$tab_orig |
Array to process |
| mixed |
$value |
Value to delete |
dftk_array_insert [line 156]
array dftk_array_insert(
array $tab_orig, integer $n, mixed $value)
|
|
Insert a value in a specified position in an array
Tags:
Parameters
| array |
$tab_orig |
Array to process |
| integer |
$n |
Position where to insert the value |
| mixed |
$value |
Value to insert |
dftk_array_sorted_insert [line 177]
array dftk_array_sorted_insert(
array $tab_orig, mixed $value, string $fct)
|
|
Insert a value in a sorted array This function ensure the array will stay sorted after each insert.
Tags:
Parameters
| array |
$tab_orig |
Array to process |
| mixed |
$value |
Value to insert |
| string |
$fct |
Name of the sort function |
dftk_display_array [line 43]
void dftk_display_array(
array &$arr)
|
|
Display an array, for debugging purpose
Tags:
Parameters
| array |
&$arr |
Array to display |
dftk_is_hexa [line 117]
boolean dftk_is_hexa(
string $val)
|
|
Test if is an hexadecimal number
Tags:
Parameters
| string |
$val |
Value to test |
dftk_unix_crypt [line 104]
string dftk_unix_crypt(
string $passwd)
|
|
Crypt for unix usage
Tags:
Parameters
| string |
$passwd |
Clear-text Password |
|