diff --git a/htdocs/core/modules/fichinter/modules_fichinter.php b/htdocs/core/modules/fichinter/modules_fichinter.php index 3ac4e213855..3903d6154e5 100644 --- a/htdocs/core/modules/fichinter/modules_fichinter.php +++ b/htdocs/core/modules/fichinter/modules_fichinter.php @@ -2,7 +2,7 @@ /* Copyright (C) 2003 Rodolphe Quiedeville * Copyright (C) 2004-2011 Laurent Destailleur * Copyright (C) 2005-2012 Regis Houssin - * Copyright (C) 2011-2012 Philippe Grand + * Copyright (C) 2011-2019 Philippe Grand * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,8 +22,8 @@ /** * \file htdocs/core/modules/fichinter/modules_fichinter.php * \ingroup ficheinter - * \brief Fichier contenant la classe mere de generation des fiches interventions en PDF - * et la classe mere de numerotation des fiches interventions + * \brief File that contains parent class for PDF interventions models + * and parent class for interventions numbering models */ require_once DOL_DOCUMENT_ROOT.'/core/class/commondocgenerator.class.php'; @@ -54,18 +54,18 @@ abstract class ModelePDFFicheinter extends CommonDocGenerator global $conf; $type='ficheinter'; - $liste=array(); + $list=array(); include_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; - $liste=getListOfModels($db, $type, $maxfilenamelength); + $list=getListOfModels($db, $type, $maxfilenamelength); - return $liste; + return $list; } } /** - * Classe mere des modeles de numerotation des references de fiches d'intervention + * Parent class numbering models of intervention sheet references */ abstract class ModeleNumRefFicheinter { @@ -85,9 +85,9 @@ abstract class ModeleNumRefFicheinter } /** - * Renvoi la description par defaut du modele de numerotation + * Returns the default description of the numbering template * - * @return string Texte descripif + * @return string Descriptive text */ function info() { @@ -97,7 +97,7 @@ abstract class ModeleNumRefFicheinter } /** - * Renvoi un exemple de numerotation + * Return a numbering example * * @return string Example */ @@ -109,8 +109,8 @@ abstract class ModeleNumRefFicheinter } /** - * Test si les numeros deja en vigueur dans la base ne provoquent pas de - * de conflits qui empechera cette numerotation de fonctionner. + * Tests if the numbers already in force in the database do not cause conflicts + * that would prevent this numbering from working. * * @return boolean false si conflit, true si ok */ @@ -120,9 +120,9 @@ abstract class ModeleNumRefFicheinter } /** - * Renvoi prochaine valeur attribuee + * Return the next assigned value * - * @return string Valeur + * @return string Value */ function getNextValue() { @@ -131,9 +131,9 @@ abstract class ModeleNumRefFicheinter } /** - * Renvoi version du module numerotation + * Return the version of the numbering module * - * @return string Valeur + * @return string Value */ function getVersion() {