[ Index ]
 

Code source de Dolibarr 2.0.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/htdocs/includes/modules/societe/ -> mod_codeclient_leopard.php (source)

   1  <?php
   2  /* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
   3   *
   4   * This program is free software; you can redistribute it and/or modify
   5   * it under the terms of the GNU General Public License as published by
   6   * the Free Software Foundation; either version 2 of the License, or
   7   * (at your option) any later version.
   8   *
   9   * This program is distributed in the hope that it will be useful,
  10   * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12   * GNU General Public License for more details.
  13   *
  14   * You should have received a copy of the GNU General Public License
  15   * along with this program; if not, write to the Free Software
  16   * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17   * or see http://www.gnu.org/
  18   *
  19   * $Id: mod_codeclient_leopard.php,v 1.3 2004/12/09 12:10:12 rodolphe Exp $
  20   * $Source: /cvsroot/dolibarr/dolibarr/htdocs/includes/modules/societe/mod_codeclient_leopard.php,v $
  21   *
  22   */
  23  
  24  class mod_codeclient_leopard
  25  {
  26  
  27    /*
  28     * Attention ce module est utilisé par défaut si aucun module n'a 
  29     * été définit dans la configuration
  30     *
  31     * Le fonctionnement de celui-ci doit dont rester le plus ouvert
  32     * possible
  33     */
  34  
  35    function mod_codeclient_leopard()
  36    {
  37      $this->nom = "Léopard";
  38      $this->code_modifiable = 1;
  39  
  40      $this->code_modifiable_invalide = 1; // code modifiable si il est invalide
  41  
  42      $this->code_modifiable_null = 1; // code modifiable si il est null
  43  
  44      $this->code_null = 1;
  45  
  46  
  47    }
  48  
  49    function info()
  50    {
  51      return "Renvoie toujours ok, pour ceux qui ne veulent pas faire de test.";
  52    }
  53    
  54    function verif($db, $code)
  55    {
  56      // Renvoie toujours ok
  57      return 0;
  58    }
  59  }
  60  
  61  ?>


Généré le : Mon Nov 26 12:29:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics