dftk
[ class tree: dftk ] [ index: dftk ] [ all elements ]

Procedural File: dftk_misc_fct.php

Source Location: /utilityfct/dftk_misc_fct.php



Classes:



Page Details:



Tags:

version:  0.4.0
filesource:  Source Code for this file
license:  GNU General Public License
copyright:  Copyright (c)2003 DuckCorp(tm) and RtpNet(tm)
author:  Rtp <mailto:rtp@rtp-net.org>
author:  Duck <mailto:duck@DuckCorp.org>








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:

return:  Array processed
access:  public


Parameters

array   $tab_orig   Array to process
mixed   $value   Value to delete
[ Top ]



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:

return:  Array processed
access:  public


Parameters

array   $tab_orig   Array to process
integer   $n   Position where to insert the value
mixed   $value   Value to insert
[ Top ]



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:

return:  Array processed
access:  public


Parameters

array   $tab_orig   Array to process
mixed   $value   Value to insert
string   $fct   Name of the sort function
[ Top ]



dftk_display_array [line 43]

void dftk_display_array( array &$arr)

Display an array, for debugging purpose



Tags:

access:  public


Parameters

array   &$arr   Array to display
[ Top ]



dftk_is_hexa [line 117]

boolean dftk_is_hexa( string $val)

Test if is an hexadecimal number



Tags:

access:  public


Parameters

string   $val   Value to test
[ Top ]



dftk_unix_crypt [line 104]

string dftk_unix_crypt( string $passwd)

Crypt for unix usage



Tags:

access:  public


Parameters

string   $passwd   Clear-text Password
[ Top ]



Documentation generated on Sat, 6 Dec 2003 13:47:41 +0100 by phpDocumentor 1.2.3