Standardize and update code
This commit is contained in:
parent
b1fa12e1e3
commit
b7a4311802
@ -49,6 +49,7 @@ class ExportCsv extends ModeleExports
|
|||||||
public $version = 'dolibarr';
|
public $version = 'dolibarr';
|
||||||
|
|
||||||
public $label_lib;
|
public $label_lib;
|
||||||
|
|
||||||
public $version_lib;
|
public $version_lib;
|
||||||
|
|
||||||
public $separator;
|
public $separator;
|
||||||
@ -63,7 +64,7 @@ class ExportCsv extends ModeleExports
|
|||||||
*/
|
*/
|
||||||
function __construct($db)
|
function __construct($db)
|
||||||
{
|
{
|
||||||
global $conf,$langs;
|
global $conf, $langs;
|
||||||
$this->db = $db;
|
$this->db = $db;
|
||||||
|
|
||||||
$this->separator=',';
|
$this->separator=',';
|
||||||
|
|||||||
@ -51,12 +51,17 @@ class ExportExcel extends ModeleExports
|
|||||||
public $version = 'dolibarr';
|
public $version = 'dolibarr';
|
||||||
|
|
||||||
public $label_lib;
|
public $label_lib;
|
||||||
|
|
||||||
public $version_lib;
|
public $version_lib;
|
||||||
|
|
||||||
public $workbook; // Handle file
|
public $workbook; // Handle file
|
||||||
|
|
||||||
public $worksheet; // Handle sheet
|
public $worksheet; // Handle sheet
|
||||||
|
|
||||||
public $row;
|
public $row;
|
||||||
|
|
||||||
public $col;
|
public $col;
|
||||||
|
|
||||||
public $file; // To save filename
|
public $file; // To save filename
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -52,12 +52,17 @@ class ExportExcel2007 extends ExportExcel
|
|||||||
public $version = 'dolibarr';
|
public $version = 'dolibarr';
|
||||||
|
|
||||||
public $label_lib;
|
public $label_lib;
|
||||||
|
|
||||||
public $version_lib;
|
public $version_lib;
|
||||||
|
|
||||||
public $workbook; // Handle fichier
|
public $workbook; // Handle fichier
|
||||||
|
|
||||||
public $worksheet; // Handle onglet
|
public $worksheet; // Handle onglet
|
||||||
|
|
||||||
public $row;
|
public $row;
|
||||||
|
|
||||||
public $col;
|
public $col;
|
||||||
|
|
||||||
public $file; // To save filename
|
public $file; // To save filename
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -50,6 +50,7 @@ class ExportTsv extends ModeleExports
|
|||||||
public $version = 'dolibarr';
|
public $version = 'dolibarr';
|
||||||
|
|
||||||
public $label_lib;
|
public $label_lib;
|
||||||
|
|
||||||
public $version_lib;
|
public $version_lib;
|
||||||
|
|
||||||
public $separator="\t";
|
public $separator="\t";
|
||||||
|
|||||||
@ -35,11 +35,13 @@ class ModeleExports extends CommonDocGenerator // This class can't be abstrac
|
|||||||
*/
|
*/
|
||||||
public $error='';
|
public $error='';
|
||||||
|
|
||||||
var $driverlabel=array();
|
public $driverlabel=array();
|
||||||
var $driverversion=array();
|
|
||||||
|
|
||||||
var $liblabel=array();
|
public $driverversion=array();
|
||||||
var $libversion=array();
|
|
||||||
|
public $liblabel=array();
|
||||||
|
|
||||||
|
public $libversion=array();
|
||||||
|
|
||||||
|
|
||||||
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
|
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
|
||||||
|
|||||||
@ -43,7 +43,17 @@ class mod_arctic extends ModeleNumRefFicheinter
|
|||||||
*/
|
*/
|
||||||
public $error = '';
|
public $error = '';
|
||||||
|
|
||||||
public $nom = 'arctic';
|
/**
|
||||||
|
* @var string Nom du modele
|
||||||
|
* @deprecated
|
||||||
|
* @see name
|
||||||
|
*/
|
||||||
|
public $nom='arctic';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string model name
|
||||||
|
*/
|
||||||
|
public $name='arctic';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -43,7 +43,17 @@ class mod_pacific extends ModeleNumRefFicheinter
|
|||||||
*/
|
*/
|
||||||
public $error='';
|
public $error='';
|
||||||
|
|
||||||
public $nom = 'pacific';
|
/**
|
||||||
|
* @var string Nom du modele
|
||||||
|
* @deprecated
|
||||||
|
* @see name
|
||||||
|
*/
|
||||||
|
public $nom='pacific';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string model name
|
||||||
|
*/
|
||||||
|
public $name='pacific';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user