2
0
forked from Wavyzz/dolibarr

put phpmin info in one place

This commit is contained in:
Frédéric FRANCE
2023-05-31 09:31:22 +02:00
parent e16d944284
commit c61d96c98f
50 changed files with 6 additions and 297 deletions

View File

@@ -106,6 +106,12 @@ abstract class CommonDocGenerator
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.1 = array(7, 1)
*/
public $phpmin = array(7, 1);
/**
* @var array Array of columns
*/

View File

@@ -46,18 +46,11 @@ class doc_generic_asset_odt extends ModelePDFAsset
*/
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* @var string Dolibarr version of the loaded document
*/
public $version = 'dolibarr';
/**
* Constructor
*

View File

@@ -68,12 +68,6 @@ class pdf_standard_asset extends ModelePDFAsset
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -46,12 +46,6 @@ class doc_generic_bom_odt extends ModelePDFBom
*/
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* @var string Dolibarr version of the loaded document
*/

View File

@@ -46,12 +46,6 @@ class doc_generic_order_odt extends ModelePDFCommandes
*/
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -72,12 +72,6 @@ class pdf_eratosthene extends ModelePDFCommandes
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -44,12 +44,6 @@ class doc_generic_contract_odt extends ModelePDFContract
*/
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* @var string Dolibarr version of the loaded document
*/

View File

@@ -70,12 +70,6 @@ class pdf_strato extends ModelePDFContract
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -64,12 +64,6 @@ class pdf_storm extends ModelePDFDeliveryOrder
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -63,12 +63,6 @@ class pdf_typhon extends ModelePDFDeliveryOrder
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -46,12 +46,6 @@ class doc_generic_shipment_odt extends ModelePdfExpedition
*/
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -61,12 +61,6 @@ class pdf_espadon extends ModelePdfExpedition
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -62,12 +62,6 @@ class pdf_merou extends ModelePdfExpedition
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -62,12 +62,6 @@ class pdf_rouget extends ModelePdfExpedition
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -69,12 +69,6 @@ class pdf_standard extends ModeleExpenseReport
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -45,12 +45,6 @@ class doc_generic_invoice_odt extends ModelePDFFactures
*/
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -69,12 +69,6 @@ class pdf_crabe extends ModelePDFFactures
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -70,12 +70,6 @@ class pdf_sponge extends ModelePDFFactures
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -64,12 +64,6 @@ class pdf_soleil extends ModelePDFFicheinter
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -41,12 +41,6 @@ class doc_generic_member_odt extends ModelePDFMember
*/
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -62,12 +62,6 @@ class pdf_standard extends ModelePDFMovement
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -46,12 +46,6 @@ class doc_generic_mo_odt extends ModelePDFMo
*/
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* @var string Dolibarr version of the loaded document
*/

View File

@@ -67,12 +67,6 @@ class pdf_vinci extends ModelePDFMo
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -43,12 +43,6 @@ class doc_generic_product_odt extends ModelePDFProduct
*/
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -57,12 +57,6 @@ class pdf_standard extends ModelePDFProduct
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -83,12 +83,6 @@ class doc_generic_project_odt extends ModelePDFProjects
*/
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -63,12 +63,6 @@ class pdf_baleine extends ModelePDFProjects
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -79,12 +79,6 @@ class pdf_beluga extends ModelePDFProjects
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -62,12 +62,6 @@ class pdf_timespent extends ModelePDFProjects
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -82,12 +82,6 @@ class doc_generic_task_odt extends ModelePDFTask
*/
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -44,12 +44,6 @@ class doc_generic_proposal_odt extends ModelePDFPropales
*/
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* @var string Dolibarr version of the loaded document
*/

View File

@@ -73,12 +73,6 @@ class pdf_azur extends ModelePDFPropales
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -66,12 +66,6 @@ class pdf_cyan extends ModelePDFPropales
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -41,12 +41,6 @@ class doc_generic_reception_odt extends ModelePdfReception
*/
public $emetteur; // Objet societe qui emet
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* @var string Dolibarr version of the loaded document
*/

View File

@@ -42,13 +42,6 @@ class doc_generic_odt extends ModeleThirdPartyDoc
*/
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Constructor
*

View File

@@ -43,18 +43,11 @@ class doc_generic_stock_odt extends ModelePDFStock
*/
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* @var string Dolibarr version of the loaded document
*/
public $version = 'dolibarr';
/**
* Constructor
*

View File

@@ -58,12 +58,6 @@ class pdf_standard extends ModelePDFStock
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -59,12 +59,6 @@ class pdf_eagle extends ModelePdfStockTransfer
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 5.5 = array(5, 5)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -68,12 +68,6 @@ class pdf_eagle_proforma extends ModelePDFCommandes
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 5.5 = array(5, 5)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -47,12 +47,6 @@ class doc_generic_supplier_invoice_odt extends ModelePDFSuppliersInvoices
*/
public $issuer;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* @var string Dolibarr version of the loaded document
*/

View File

@@ -63,12 +63,6 @@ class pdf_canelle extends ModelePDFSuppliersInvoices
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -47,12 +47,6 @@ class doc_generic_supplier_order_odt extends ModelePDFSuppliersOrders
*/
public $issuer;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* @var string Dolibarr version of the loaded document
*/

View File

@@ -66,12 +66,6 @@ class pdf_cornas extends ModelePDFSuppliersOrders
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -66,12 +66,6 @@ class pdf_muscadet extends ModelePDFSuppliersOrders
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -64,12 +64,6 @@ class pdf_standard extends ModelePDFSuppliersPayments
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -44,12 +44,6 @@ class doc_generic_supplier_proposal_odt extends ModelePDFSupplierProposal
*/
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -63,12 +63,6 @@ class pdf_aurore extends ModelePDFSupplierProposal
*/
public $type;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -41,12 +41,6 @@ class doc_generic_ticket_odt extends ModelePDFTicket
*/
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -41,12 +41,6 @@ class doc_generic_user_odt extends ModelePDFUser
*/
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string

View File

@@ -44,12 +44,6 @@ class doc_generic_usergroup_odt extends ModelePDFUserGroup
*/
public $emetteur;
/**
* @var array Minimum version of PHP required by module.
* e.g.: PHP ≥ 7.0 = array(7, 0)
*/
public $phpmin = array(7, 0);
/**
* Dolibarr version of the loaded document
* @var string