Doxygen
This commit is contained in:
parent
7b6e23b646
commit
051f4e2983
@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** \defgroup accounting Module accounting
|
/** \defgroup accounting Module accounting
|
||||||
* \brief Module pour inclure des fonctions de comptabilite (gestion de comptes comptables et rapports)
|
* \brief Module to include accounting features
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup adherent Module adherents
|
* \defgroup adherent Module foundation
|
||||||
* \brief Module pour gerer les adherents d'une association
|
* \brief Module pour gerer les adherents d'une association
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@ -20,15 +20,15 @@
|
|||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \defgroup banque Module banque
|
/** \defgroup banque Module bank
|
||||||
\brief Module pour gérer la tenue d'un compte bancaire et rapprochements
|
* \brief Module pour gérer la tenue d'un compte bancaire et rapprochements
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/includes/modules/modBanque.class.php
|
* \file htdocs/includes/modules/modBanque.class.php
|
||||||
\ingroup banque
|
* \ingroup banque
|
||||||
\brief Fichier de description et activation du module Banque
|
* \brief Fichier de description et activation du module Banque
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php");
|
include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php");
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup barcode Module code barre
|
* \defgroup barcode Module barcode
|
||||||
* \brief Module pour gerer les codes barres
|
* \brief Module pour gerer les codes barres
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup bookmark Module Bookmark
|
* \defgroup bookmark Module bookmarks
|
||||||
* \brief Module to manage Bookmarks
|
* \brief Module to manage Bookmarks
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \defgroup oscommerce Module OSCommerce
|
/** \defgroup oscommerce Module oscommerce
|
||||||
\brief Module pour gerer une boutique et interface avec OSCommerce
|
\brief Module pour gerer une boutique et interface avec OSCommerce
|
||||||
\version $Id$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -17,16 +17,16 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\defgroup category Module categorie
|
* \defgroup pos Module points of sale
|
||||||
\brief Module pour gérer les catégories
|
* \brief Module to manage points of sale
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/includes/modules/modCashDesk.class.php
|
* \file htdocs/includes/modules/modCashDesk.class.php
|
||||||
\ingroup category
|
* \ingroup pos
|
||||||
\brief File to enable/disable module CashDesk
|
* \brief File to enable/disable module CashDesk
|
||||||
*/
|
*/
|
||||||
include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php");
|
include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php");
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\defgroup category Module categorie
|
\defgroup category Module categories
|
||||||
\brief Module pour gérer les catégories
|
\brief Module pour gérer les catégories
|
||||||
\version $Id$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -18,15 +18,15 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\defgroup clicktodial Module click to dial
|
* \defgroup clicktodial Module clicktodial
|
||||||
\brief Module pour g<EFBFBD>rer l'appel automatique
|
* \brief Module pour gerer l'appel automatique
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/includes/modules/modClickToDial.class.php
|
* \file htdocs/includes/modules/modClickToDial.class.php
|
||||||
\ingroup clicktodial
|
* \ingroup clicktodial
|
||||||
\brief Fichier de description et activation du module de click to Dial
|
* \brief Fichier de description et activation du module de click to Dial
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php");
|
include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php");
|
||||||
|
|||||||
@ -21,15 +21,15 @@
|
|||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \defgroup commande Module commande
|
/** \defgroup commande Module orders
|
||||||
\brief Module pour gerer le suivi des commandes
|
* \brief Module pour gerer le suivi des commandes
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/includes/modules/modCommande.class.php
|
* \file htdocs/includes/modules/modCommande.class.php
|
||||||
\ingroup commande
|
* \ingroup commande
|
||||||
\brief Fichier de description et activation du module Commande
|
* \brief Fichier de description et activation du module Commande
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php");
|
include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php");
|
||||||
|
|||||||
@ -18,15 +18,15 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\defgroup contrat Module contrat
|
* \defgroup contrat Module contract
|
||||||
\brief Module pour gerer la tenue de contrat de services
|
* \brief Module pour gerer la tenue de contrat de services
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/includes/modules/modContrat.class.php
|
* \file htdocs/includes/modules/modContrat.class.php
|
||||||
\ingroup contrat
|
* \ingroup contrat
|
||||||
\brief Fichier de description et activation du module Contrat
|
* \brief Fichier de description et activation du module Contrat
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php");
|
include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php");
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\defgroup deplacement Module deplacement et notes de frais
|
\defgroup deplacement Module trips
|
||||||
\brief Module pour gerer les deplacements et notes de frais
|
\brief Module pour gerer les deplacements et notes de frais
|
||||||
\version $Id$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup document Module de generation de documents
|
* \defgroup document Module mass mailings
|
||||||
* \brief Module pour gerer des generations de documents
|
* \brief Module pour gerer des generations de documents
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\defgroup don Module don
|
\defgroup don Module donation
|
||||||
\brief Module pour g<EFBFBD>rer le suivi des dons
|
\brief Module pour g<EFBFBD>rer le suivi des dons
|
||||||
\version $Id$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup DroitPret Module pret
|
* \defgroup DroitPret Module droitpret
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
* \brief Module pour gerer le suivi des droits de prets
|
* \brief Module pour gerer le suivi des droits de prets
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \defgroup ecm Module ECM
|
/** \defgroup ecm Module ecm
|
||||||
* \brief Module for ECM (Electronic Content Management)
|
* \brief Module for ECM (Electronic Content Management)
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup editeur Module editeur
|
* \defgroup editeur Module editor
|
||||||
* \brief Module pour gerer les livres et editeurs
|
* \brief Module pour gerer les livres et editeurs
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup energie Module energie
|
* \defgroup energie Module energy
|
||||||
* \brief Module pour le suivi de la consommation d'energie
|
* \brief Module pour le suivi de la consommation d'energie
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup expedition Module expedition
|
* \defgroup expedition Module shipping
|
||||||
* \brief Module pour gerer les expeditions de produits
|
* \brief Module pour gerer les expeditions de produits
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \defgroup facture Module facture
|
/** \defgroup facture Module invoices
|
||||||
* \brief Module pour gerer les factures clients et/ou fournisseurs
|
* \brief Module pour gerer les factures clients et/ou fournisseurs
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \defgroup fournisseur Module fournisseur
|
/** \defgroup fournisseur Module suppliers
|
||||||
* \brief Module pour gerer des societes et contacts de type fournisseurs
|
* \brief Module pour gerer des societes et contacts de type fournisseurs
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \defgroup gravatar Module Gravatar
|
/** \defgroup gravatar Module gravatar
|
||||||
* \brief Module to use Gravatar to show photo of users
|
* \brief Module to use Gravatar to show photo of users
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \defgroup import Module Import
|
/** \defgroup import Module Iimport
|
||||||
\brief Module generique pour realiser des imports de donnees en base
|
\brief Module generique pour realiser des imports de donnees en base
|
||||||
\version $Id$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -18,15 +18,15 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\defgroup label Module Etiquettes
|
* \defgroup label Module labels
|
||||||
\version $Id$
|
* \version $Id$
|
||||||
\brief Module pour gerer les formats d'impression des etiquettes
|
* \brief Module pour gerer les formats d'impression des etiquettes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/includes/modules/modLabel.class.php
|
* \file htdocs/includes/modules/modLabel.class.php
|
||||||
\ingroup other
|
* \ingroup other
|
||||||
\brief Fichier de description et activation du module Label
|
* \brief Fichier de description et activation du module Label
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php");
|
include_once(DOL_DOCUMENT_ROOT ."/includes/modules/DolibarrModules.class.php");
|
||||||
|
|||||||
@ -19,8 +19,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup mailing Module mailing
|
* \defgroup mailing Module emailing
|
||||||
* \brief Module pour gerer les mailings
|
* \brief Module to manage EMailings
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \defgroup mantis Module Mantis
|
/** \defgroup mantis Module mantis
|
||||||
\brief Module to include Mantis into Dolibarr
|
\brief Module to include Mantis into Dolibarr
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@ -18,9 +18,8 @@
|
|||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \defgroup mymodule Module MyModule
|
/** \defgroup multicompany Module multicompany
|
||||||
* \brief Example of a module descriptor.
|
* \brief Descriptor file for module multicompany
|
||||||
* Such a file must be copied into htdocs/includes/module directory.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -18,8 +18,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup notification Module notification
|
* \defgroup notification Module email notification
|
||||||
* \brief Module pour g<EFBFBD>rer les notifications (par mail ou autre)
|
* \brief Module pour gerer les notifications (par mail ou autre)
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
* $Id$
|
* $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \defgroup oscommerce2 Module OSCommerce 2
|
/** \defgroup oscommerce2 Module oscommercews
|
||||||
\brief Module pour gerer une boutique et interface avec OSCommerce via Web Services
|
\brief Module pour gerer une boutique et interface avec OSCommerce via Web Services
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@ -17,9 +17,8 @@
|
|||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \defgroup mymodule Module MyModule
|
/** \defgroup paybox Module paybox
|
||||||
* \brief Example of a module descriptor.
|
* \brief Add integration with Paybox online payment system.
|
||||||
* Such a file must be copied into htdocs/includes/module directory.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -16,7 +16,7 @@
|
|||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \defgroup phenix Module Phenix
|
/** \defgroup phenix Module phenix
|
||||||
\brief Module to include Phenix into Dolibarr and
|
\brief Module to include Phenix into Dolibarr and
|
||||||
add Dolibarr events directly inside a Phenix database.
|
add Dolibarr events directly inside a Phenix database.
|
||||||
\version $Id$
|
\version $Id$
|
||||||
@ -45,44 +45,44 @@ class modPhenix extends DolibarrModules
|
|||||||
function modPhenix($DB)
|
function modPhenix($DB)
|
||||||
{
|
{
|
||||||
$this->db = $DB;
|
$this->db = $DB;
|
||||||
|
|
||||||
// Id for module (must be unique).
|
// Id for module (must be unique).
|
||||||
// Use here a free id.
|
// Use here a free id.
|
||||||
$this->numero = 420;
|
$this->numero = 420;
|
||||||
|
|
||||||
// Family can be 'crm','financial','hr','projects','product','technic','other'
|
// Family can be 'crm','financial','hr','projects','product','technic','other'
|
||||||
// It is used to sort modules in module setup page
|
// It is used to sort modules in module setup page
|
||||||
$this->family = "projects";
|
$this->family = "projects";
|
||||||
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
|
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
|
||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
// Module descriptoin used translation string 'ModuleXXXDesc' not found (XXX is id value)
|
// Module descriptoin used translation string 'ModuleXXXDesc' not found (XXX is id value)
|
||||||
$this->description = "Interface avec le calendrier Phenix";
|
$this->description = "Interface avec le calendrier Phenix";
|
||||||
// Possible values for version are: 'experimental' or 'dolibarr' or version
|
// Possible values for version are: 'experimental' or 'dolibarr' or version
|
||||||
$this->version = 'development';
|
$this->version = 'development';
|
||||||
// Id used in llx_const table to manage module status (enabled/disabled)
|
// Id used in llx_const table to manage module status (enabled/disabled)
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
// Where to store the module in setup page (0=common,1=interface,2=other)
|
// Where to store the module in setup page (0=common,1=interface,2=other)
|
||||||
$this->special = 1;
|
$this->special = 1;
|
||||||
// Name of png file (without png) used for this module
|
// Name of png file (without png) used for this module
|
||||||
$this->picto='calendar';
|
$this->picto='calendar';
|
||||||
|
|
||||||
// Data directories to create when module is enabled
|
// Data directories to create when module is enabled
|
||||||
$this->dirs = array();
|
$this->dirs = array();
|
||||||
|
|
||||||
// Config pages. Put here list of php page names stored in admmin directory used to setup module
|
// Config pages. Put here list of php page names stored in admmin directory used to setup module
|
||||||
$this->config_page_url = array("phenix.php");
|
$this->config_page_url = array("phenix.php");
|
||||||
|
|
||||||
// Dependencies
|
// Dependencies
|
||||||
$this->depends = array(); // List of modules id that must be enabled if this module is enabled
|
$this->depends = array(); // List of modules id that must be enabled if this module is enabled
|
||||||
$this->requiredby = array(); // List of modules id to disable if this one is disabled
|
$this->requiredby = array(); // List of modules id to disable if this one is disabled
|
||||||
|
|
||||||
// Constants
|
// Constants
|
||||||
$this->const = array(); // List of parameters
|
$this->const = array(); // List of parameters
|
||||||
|
|
||||||
// Boxes
|
// Boxes
|
||||||
$this->boxes = array(); // List of boxes
|
$this->boxes = array(); // List of boxes
|
||||||
$r=0;
|
$r=0;
|
||||||
|
|
||||||
// Add here list of default box name and php file stored in includes/boxes that
|
// Add here list of default box name and php file stored in includes/boxes that
|
||||||
// contains class to show a box.
|
// contains class to show a box.
|
||||||
// Example:
|
// Example:
|
||||||
@ -97,7 +97,7 @@ class modPhenix extends DolibarrModules
|
|||||||
// Menus
|
// Menus
|
||||||
//------
|
//------
|
||||||
$r=0;
|
$r=0;
|
||||||
|
|
||||||
$this->menu[$r]=array('fk_menu'=>0,
|
$this->menu[$r]=array('fk_menu'=>0,
|
||||||
'type'=>'top',
|
'type'=>'top',
|
||||||
'titre'=>'Calendar',
|
'titre'=>'Calendar',
|
||||||
@ -121,7 +121,7 @@ class modPhenix extends DolibarrModules
|
|||||||
function init()
|
function init()
|
||||||
{
|
{
|
||||||
$sql = array();
|
$sql = array();
|
||||||
|
|
||||||
return $this->_init($sql);
|
return $this->_init($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup produit Module produit
|
* \defgroup produit Module products
|
||||||
* \brief Module pour gerer le suivi de produits predefinis
|
* \brief Module pour gerer le suivi de produits predefinis
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \defgroup propale Module propale
|
/** \defgroup propale Module commercial proposals
|
||||||
* \brief Module pour gerer la tenue de propositions commerciales
|
* \brief Module pour gerer la tenue de propositions commerciales
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup service Module service
|
* \defgroup service Module services
|
||||||
* \brief Module pour gerer le suivi de services predefinis
|
* \brief Module pour gerer le suivi de services predefinis
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup stock Module stock
|
* \defgroup stock Module stocks
|
||||||
* \brief Module pour gerer la tenue de stocks produits
|
* \brief Module pour gerer la tenue de stocks produits
|
||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -19,7 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup user Module user
|
* \defgroup user Module user management
|
||||||
* \brief Module pour gerer les utilisateurs
|
* \brief Module pour gerer les utilisateurs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup webservices Module WebServices
|
* \defgroup webservices Module webservices
|
||||||
* \brief Module to enable the Dolibarr server of web services
|
* \brief Module to enable the Dolibarr server of web services
|
||||||
* \brief $Id$
|
* \brief $Id$
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \defgroup webcalendar Module Webcalendar
|
/** \defgroup webcalendar Module webcalendar
|
||||||
\brief Module to include Webcalendar GUI into Dolibarr menu and
|
\brief Module to include Webcalendar GUI into Dolibarr menu and
|
||||||
add Dolibarr events directly inside a Webcalendar database.
|
add Dolibarr events directly inside a Webcalendar database.
|
||||||
\version $Id$
|
\version $Id$
|
||||||
@ -47,44 +47,44 @@ class modWebcalendar extends DolibarrModules
|
|||||||
function modWebcalendar($DB)
|
function modWebcalendar($DB)
|
||||||
{
|
{
|
||||||
$this->db = $DB;
|
$this->db = $DB;
|
||||||
|
|
||||||
// Id for module (must be unique).
|
// Id for module (must be unique).
|
||||||
// Use here a free id.
|
// Use here a free id.
|
||||||
$this->numero = 410;
|
$this->numero = 410;
|
||||||
|
|
||||||
// Family can be 'crm','financial','hr','projects','product','technic','other'
|
// Family can be 'crm','financial','hr','projects','product','technic','other'
|
||||||
// It is used to sort modules in module setup page
|
// It is used to sort modules in module setup page
|
||||||
$this->family = "projects";
|
$this->family = "projects";
|
||||||
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
|
// Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module)
|
||||||
$this->name = eregi_replace('^mod','',get_class($this));
|
$this->name = eregi_replace('^mod','',get_class($this));
|
||||||
// Module description used if translation string 'ModuleXXXDesc' not found (XXX is id value)
|
// Module description used if translation string 'ModuleXXXDesc' not found (XXX is id value)
|
||||||
$this->description = "Interfacage avec le calendrier Webcalendar";
|
$this->description = "Interfacage avec le calendrier Webcalendar";
|
||||||
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
|
||||||
$this->version = 'dolibarr';
|
$this->version = 'dolibarr';
|
||||||
// Key used in llx_const table to save module status enabled/disabled (XXX is id value)
|
// Key used in llx_const table to save module status enabled/disabled (XXX is id value)
|
||||||
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
|
||||||
// Where to store the module in setup page (0=common,1=interface,2=other)
|
// Where to store the module in setup page (0=common,1=interface,2=other)
|
||||||
$this->special = 1;
|
$this->special = 1;
|
||||||
// Name of png file (without png) used for this module
|
// Name of png file (without png) used for this module
|
||||||
$this->picto='calendar';
|
$this->picto='calendar';
|
||||||
|
|
||||||
// Data directories to create when module is enabled
|
// Data directories to create when module is enabled
|
||||||
$this->dirs = array();
|
$this->dirs = array();
|
||||||
|
|
||||||
// Config pages. Put here list of php page names stored in admmin directory used to setup module
|
// Config pages. Put here list of php page names stored in admmin directory used to setup module
|
||||||
$this->config_page_url = array("webcalendar.php");
|
$this->config_page_url = array("webcalendar.php");
|
||||||
|
|
||||||
// Dependencies
|
// Dependencies
|
||||||
$this->depends = array(); // List of modules id that must be enabled if this module is enabled
|
$this->depends = array(); // List of modules id that must be enabled if this module is enabled
|
||||||
$this->requiredby = array(); // List of modules id to disable if this one is disabled
|
$this->requiredby = array(); // List of modules id to disable if this one is disabled
|
||||||
|
|
||||||
// Constants
|
// Constants
|
||||||
$this->const = array(); // List of parameters
|
$this->const = array(); // List of parameters
|
||||||
|
|
||||||
// Boxes
|
// Boxes
|
||||||
$this->boxes = array(); // List of boxes
|
$this->boxes = array(); // List of boxes
|
||||||
$r=0;
|
$r=0;
|
||||||
|
|
||||||
// Add here list of php file(s) stored in includes/boxes that contains class to show a box.
|
// Add here list of php file(s) stored in includes/boxes that contains class to show a box.
|
||||||
// Example:
|
// Example:
|
||||||
//$this->boxes[$r][1] = "myboxa.php";
|
//$this->boxes[$r][1] = "myboxa.php";
|
||||||
@ -95,11 +95,11 @@ class modWebcalendar extends DolibarrModules
|
|||||||
// Permissions
|
// Permissions
|
||||||
$this->rights_class = 'webcal'; // Permission key
|
$this->rights_class = 'webcal'; // Permission key
|
||||||
$this->rights = array(); // Permission array used by this module
|
$this->rights = array(); // Permission array used by this module
|
||||||
|
|
||||||
// Menus
|
// Menus
|
||||||
//------
|
//------
|
||||||
$r=0;
|
$r=0;
|
||||||
|
|
||||||
$this->menu[$r]=array('fk_menu'=>0,
|
$this->menu[$r]=array('fk_menu'=>0,
|
||||||
'type'=>'top',
|
'type'=>'top',
|
||||||
'titre'=>'Calendar',
|
'titre'=>'Calendar',
|
||||||
@ -114,7 +114,7 @@ class modWebcalendar extends DolibarrModules
|
|||||||
'user'=>0
|
'user'=>0
|
||||||
);
|
);
|
||||||
$r++;
|
$r++;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -125,7 +125,7 @@ class modWebcalendar extends DolibarrModules
|
|||||||
function init()
|
function init()
|
||||||
{
|
{
|
||||||
$sql = array();
|
$sql = array();
|
||||||
|
|
||||||
return $this->_init($sql);
|
return $this->_init($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user