Standardize and Update code
This commit is contained in:
parent
ae2df6be11
commit
5cd9557318
@ -40,15 +40,15 @@ class ExportCsv extends ModeleExports
|
|||||||
*/
|
*/
|
||||||
public $label;
|
public $label;
|
||||||
|
|
||||||
var $extension;
|
public $extension;
|
||||||
var $version;
|
public $version;
|
||||||
|
|
||||||
var $label_lib;
|
public $label_lib;
|
||||||
var $version_lib;
|
public $version_lib;
|
||||||
|
|
||||||
var $separator;
|
public $separator;
|
||||||
|
|
||||||
var $handle; // Handle fichier
|
public $handle; // Handle fichier
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -42,17 +42,17 @@ class ExportExcel extends ModeleExports
|
|||||||
*/
|
*/
|
||||||
public $label;
|
public $label;
|
||||||
|
|
||||||
var $extension;
|
public $extension;
|
||||||
var $version;
|
public $version;
|
||||||
|
|
||||||
var $label_lib;
|
public $label_lib;
|
||||||
var $version_lib;
|
public $version_lib;
|
||||||
|
|
||||||
var $workbook; // Handle fichier
|
public $workbook; // Handle fichier
|
||||||
var $worksheet; // Handle onglet
|
public $worksheet; // Handle onglet
|
||||||
var $row;
|
public $row;
|
||||||
var $col;
|
public $col;
|
||||||
var $file; // To save filename
|
public $file; // To save filename
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -43,17 +43,17 @@ class ExportExcel2007 extends ExportExcel
|
|||||||
*/
|
*/
|
||||||
public $label;
|
public $label;
|
||||||
|
|
||||||
var $extension;
|
public $extension;
|
||||||
var $version;
|
public $version;
|
||||||
|
|
||||||
var $label_lib;
|
public $label_lib;
|
||||||
var $version_lib;
|
public $version_lib;
|
||||||
|
|
||||||
var $workbook; // Handle fichier
|
public $workbook; // Handle fichier
|
||||||
var $worksheet; // Handle onglet
|
public $worksheet; // Handle onglet
|
||||||
var $row;
|
public $row;
|
||||||
var $col;
|
public $col;
|
||||||
var $file; // To save filename
|
public $file; // To save filename
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
@ -41,15 +41,15 @@ class ExportTsv extends ModeleExports
|
|||||||
*/
|
*/
|
||||||
public $label;
|
public $label;
|
||||||
|
|
||||||
var $extension;
|
public $extension;
|
||||||
var $version;
|
public $version;
|
||||||
|
|
||||||
var $label_lib;
|
public $label_lib;
|
||||||
var $version_lib;
|
public $version_lib;
|
||||||
|
|
||||||
var $separator="\t";
|
public $separator="\t";
|
||||||
|
|
||||||
var $handle; // Handle fichier
|
public $handle; // Handle fichier
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -60,22 +60,22 @@ class ImportCsv extends ModeleImports
|
|||||||
*/
|
*/
|
||||||
public $label;
|
public $label;
|
||||||
|
|
||||||
var $extension; // Extension of files imported by driver
|
public $extension; // Extension of files imported by driver
|
||||||
var $version; // Version of driver
|
public $version; // Version of driver
|
||||||
|
|
||||||
var $label_lib; // Label of external lib used by driver
|
public $label_lib; // Label of external lib used by driver
|
||||||
var $version_lib; // Version of external lib used by driver
|
public $version_lib; // Version of external lib used by driver
|
||||||
|
|
||||||
var $separator;
|
public $separator;
|
||||||
|
|
||||||
var $file; // Path of file
|
public $file; // Path of file
|
||||||
var $handle; // Handle fichier
|
public $handle; // Handle fichier
|
||||||
|
|
||||||
var $cacheconvert=array(); // Array to cache list of value found after a convertion
|
public $cacheconvert=array(); // Array to cache list of value found after a convertion
|
||||||
var $cachefieldtable=array(); // Array to cache list of value found into fields@tables
|
public $cachefieldtable=array(); // Array to cache list of value found into fields@tables
|
||||||
|
|
||||||
var $nbinsert = 0; // # of insert done during the import
|
public $nbinsert = 0; // # of insert done during the import
|
||||||
var $nbupdate = 0; // # of update done during the import
|
public $nbupdate = 0; // # of update done during the import
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -60,23 +60,23 @@ class ImportXlsx extends ModeleImports
|
|||||||
*/
|
*/
|
||||||
public $label;
|
public $label;
|
||||||
|
|
||||||
var $extension; // Extension of files imported by driver
|
public $extension; // Extension of files imported by driver
|
||||||
var $version; // Version of driver
|
public $version; // Version of driver
|
||||||
|
|
||||||
var $label_lib; // Label of external lib used by driver
|
public $label_lib; // Label of external lib used by driver
|
||||||
var $version_lib; // Version of external lib used by driver
|
public $version_lib; // Version of external lib used by driver
|
||||||
|
|
||||||
var $separator;
|
public $separator;
|
||||||
|
|
||||||
var $file; // Path of file
|
public $file; // Path of file
|
||||||
var $handle; // Handle fichier
|
public $handle; // Handle fichier
|
||||||
|
|
||||||
var $cacheconvert=array(); // Array to cache list of value found after a convertion
|
public $cacheconvert=array(); // Array to cache list of value found after a convertion
|
||||||
var $cachefieldtable=array(); // Array to cache list of value found into fields@tables
|
public $cachefieldtable=array(); // Array to cache list of value found into fields@tables
|
||||||
|
|
||||||
var $workbook; // temporary import file
|
public $workbook; // temporary import file
|
||||||
var $record; // current record
|
public $record; // current record
|
||||||
var $headers;
|
public $headers;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -36,16 +36,16 @@ class modGeneratePassNone extends ModeleGenPassword
|
|||||||
*/
|
*/
|
||||||
public $id;
|
public $id;
|
||||||
|
|
||||||
var $length;
|
public $length;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var DoliDB Database handler.
|
* @var DoliDB Database handler.
|
||||||
*/
|
*/
|
||||||
public $db;
|
public $db;
|
||||||
|
|
||||||
var $conf;
|
public $conf;
|
||||||
var $lang;
|
public $lang;
|
||||||
var $user;
|
public $user;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -38,29 +38,29 @@ class modGeneratePassPerso extends ModeleGenPassword
|
|||||||
*/
|
*/
|
||||||
public $id;
|
public $id;
|
||||||
|
|
||||||
var $length;
|
public $length;
|
||||||
var $length2; // didn't overright display
|
public $length2; // didn't overright display
|
||||||
var $NbMaj;
|
public $NbMaj;
|
||||||
var $NbNum;
|
public $NbNum;
|
||||||
var $NbSpe;
|
public $NbSpe;
|
||||||
var $NbRepeat;
|
public $NbRepeat;
|
||||||
var $WithoutAmbi;
|
public $WithoutAmbi;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var DoliDB Database handler.
|
* @var DoliDB Database handler.
|
||||||
*/
|
*/
|
||||||
public $db;
|
public $db;
|
||||||
|
|
||||||
var $conf;
|
public $conf;
|
||||||
var $lang;
|
public $lang;
|
||||||
var $user;
|
public $user;
|
||||||
|
|
||||||
var $Maj;
|
public $Maj;
|
||||||
var $Min;
|
public $Min;
|
||||||
var $Nb;
|
public $Nb;
|
||||||
var $Spe;
|
public $Spe;
|
||||||
var $Ambi;
|
public $Ambi;
|
||||||
var $All;
|
public $All;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
@ -36,16 +36,16 @@ class modGeneratePassStandard extends ModeleGenPassword
|
|||||||
*/
|
*/
|
||||||
public $id;
|
public $id;
|
||||||
|
|
||||||
var $length;
|
public $length;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var DoliDB Database handler.
|
* @var DoliDB Database handler.
|
||||||
*/
|
*/
|
||||||
public $db;
|
public $db;
|
||||||
|
|
||||||
var $conf;
|
public $conf;
|
||||||
var $lang;
|
public $lang;
|
||||||
var $user;
|
public $user;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -1337,6 +1337,9 @@ class Cronjob extends CommonObject
|
|||||||
class Cronjobline
|
class Cronjobline
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var int ID
|
||||||
|
*/
|
||||||
public $id;
|
public $id;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -37,7 +37,7 @@ class EcmDirectory // extends CommonObject
|
|||||||
*/
|
*/
|
||||||
//public $table_element='ecm_directories';
|
//public $table_element='ecm_directories';
|
||||||
|
|
||||||
var $picto = 'dir';
|
public $picto = 'dir';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var int ID
|
* @var int ID
|
||||||
@ -49,16 +49,16 @@ class EcmDirectory // extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public $label;
|
public $label;
|
||||||
|
|
||||||
var $fk_parent;
|
public $fk_parent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string description
|
* @var string description
|
||||||
*/
|
*/
|
||||||
public $description;
|
public $description;
|
||||||
|
|
||||||
var $cachenbofdoc=-1; // By default cache initialized with value 'not calculated'
|
public $cachenbofdoc=-1; // By default cache initialized with value 'not calculated'
|
||||||
var $date_c;
|
public $date_c;
|
||||||
var $date_m;
|
public $date_m;
|
||||||
public $fk_user_m;
|
public $fk_user_m;
|
||||||
public $fk_user_c;
|
public $fk_user_c;
|
||||||
|
|
||||||
@ -67,11 +67,11 @@ class EcmDirectory // extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public $ref;
|
public $ref;
|
||||||
|
|
||||||
var $cats=array();
|
public $cats=array();
|
||||||
var $motherof=array();
|
public $motherof=array();
|
||||||
|
|
||||||
var $forbiddenchars = array('<','>',':','/','\\','?','*','|','"');
|
public $forbiddenchars = array('<','>',':','/','\\','?','*','|','"');
|
||||||
var $forbiddencharsdir = array('<','>',':','?','*','|','"');
|
public $forbiddencharsdir = array('<','>',':','?','*','|','"');
|
||||||
|
|
||||||
public $full_arbo_loaded;
|
public $full_arbo_loaded;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user