dolibarr 21.0.0-beta
import.php File Reference

Pages of import Wizard. More...

Go to the source code of this file.

Functions

 show_elem ($fieldssource, $pos, $key)
 Function to put the movable box of a source field.
 
 getnewkey (&$fieldssource, &$listofkey)
 Return not used field number.
 
 arrayInsert ($array, $position, $insertArray)
 Return array with element inserted in it at position $position.
 

Detailed Description

Pages of import Wizard.

Definition in file import.php.

Function Documentation

◆ arrayInsert()

arrayInsert ( $array,
$position,
$insertArray )

Return array with element inserted in it at position $position.

Parameters
array<int|string,array{label?:string,example1?:string,required?:bool,imported?:bool|int<0,1>,position?:int}>$array Array of field source
int$positionkey of position to insert to
array{label?:string,example1?:string,required?:bool,imported?:bool|int<0,1>,position?:int}$insertArray Array to insert
Returns
array<int|string,array{label?:string,example1?:string,required?:bool,imported?:bool|int<0,1>,position?:int}>

Definition at line 2525 of file import.php.

◆ getnewkey()

getnewkey ( & $fieldssource,
& $listofkey )

Return not used field number.

Parameters
array<int,mixed|mixed[]>$fieldssource Array of field source
array<int,mixed|mixed[]>$listofkey Array of keys
Returns
int

Definition at line 2497 of file import.php.

◆ show_elem()

show_elem ( $fieldssource,
$pos,
$key )

Function to put the movable box of a source field.

Parameters
array<int|string,array{label?:string,example1?:string,required?:bool,imported?:bool|int<0,1>,position?:int}>$fieldssource List of source fields
int$posPos
string$keyKey
Returns
void

Definition at line 2415 of file import.php.

References $conf, img_picto(), num2Alpha(), and utf8_check().