Inspection du fichier modChangeTiers.class.php

Longueur totale:

7419 octets

10 premiers octets (hex):

3C 3F 70 68 70 0D 0A 2F 2A 20 

10 premiers octets (caractères):

<?php
/* 

50 premières lignes:

001: <?php
002: /* Copyright (C) 2025 SuperAdmin
003:  *
004:  * This program is free software: you can redistribute it and/or modify
005:  * it under the terms of the GNU General Public License as published by
006:  * the Free Software Foundation, either version 3 of the License, or
007:  * (at your option) any later version.
008:  *
009:  * This program is distributed in the hope that it will be useful,
010:  * but WITHOUT ANY WARRANTY; without even the implied warranty of
011:  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
012:  * GNU General Public License for more details.
013:  *
014:  * You should have received a copy of the GNU General Public License
015:  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
016:  */
017: 
018: /**
019:  * \defgroup   changetiers Module ChangeTiers
020:  * \brief      ChangeTiers module descriptor.
021:  *
022:  * \file       core/modules/modChangeTiers.class.php
023:  * \ingroup    changetiers
024:  * \brief      Description and activation file for module ChangeTiers
025:  */
026: include_once DOL_DOCUMENT_ROOT.'/core/modules/DolibarrModules.class.php';
027: 
028: /**
029:  * Description and activation class for module ChangeTiers
030:  */
031: class modChangeTiers extends DolibarrModules
032: {
033:     /**
034:      * Constructor. Define names, constants, directories, boxes, permissions
035:      *
036:      * @param DoliDB $db Database handler
037:      */
038:     public function __construct($db)
039:     {
040:         global $langs, $conf;
041:         $this->db = $db;
042: 
043:         // Id for module (must be unique).
044:         $this->numero = 500000;
045:         $this->rights_class = 'changetiers';
046:         $this->family = "crm";
047:         $this->module_position = '90';
048:         $this->name = preg_replace('/^mod/i', '', get_class($this));
049:         $this->description = "Module de modification de tiers sur les documents Dolibarr";
050:         $this->descriptionlong = "Permet de modifier le tiers concerné sur les devis, factures, commandes, expéditions, contrats, demandes de prix et commandes fournisseurs. Régénère automatiquement les PDF.";