Module Categories (developer): Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
No edit summary
m (add user)
 
(18 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<!-- BEGIN origin interlang links -->
<!-- You can edit this section but do NOT remove these comments
    Links below will be automatically replicated on translated pages by PolyglotBot -->
[[fr:Module_Catégories_(développeur)]]
[[es:Módulo_Categorías_(desarrollador)]]
<!-- END interlang links -->
[[Category:Categories]]
[[Category:Categories]]
{{TemplateDocDevEn}}
{{TemplateModEN Developer}}
{{BasculeDevUserEn|
{{BasculeDevUserEn|
name=Category|  
name=Category|
num=1780|
devdoc=This page|
devdoc=This page|
userdoc=[[Categories]]|}}
userdoc=[[Module Categories]]|}}
{{TemplateDocDevEn}}
 
{{ToTranslate}}
=Features=
The category module adds a way to classify objects in one or multiple categories.
 
It is available for: 
 
- Products / Services  (type 0)   
 
- Suppliers  (type 1)   
 
- Customers  (type 2)   
 
- Members  (type 3)   
 
- Contacts  (type 4) 
 
- Projects  (type 6) 


- User  (type 7) 


== Fonction ==
..  
Le module catégorie permet de gérer des catégories sur les tiers clients, tiers fournisseurs ou les produits.


''Numéro : 1780''
=Entity Category=
{{TemplateDocDevEntityEn|
class=htdocs/categories/class/categorie.class.php}}


== Entité Catégorie ==
=Permissions=
La classe PHP pour manipuler les contrats est le fichier
''htdocs/categories/categorie.class.php''.


Elle contient principalement une méthode fecth, insert et delete.
*->categorie->lire
*->categorie->creer
*->categorie->supprimer
*->categorie->voir


== Permissions ==
=Tables SQL=
* ->categorie->lire
* ->categorie->creer
* ->categorie->supprimer
* ->categorie->voir


== Tables SQL ==
*[[Table llx categorie|llx categorie]] Contains different categories for different "objects" of Dolibarr (suppliers, customers, products, ...)
* [[Table llx categorie|llx categorie]] Contient les différentes catégories des différents "objets" de Dolibarr (fournisseurs, produits, clients, ...)
*[[Table llx categorie association|llx categorie association]]
* [[Table llx categorie association|llx categorie association]]

Latest revision as of 09:29, 30 October 2020

Category
Numero/ID of module 1780
User doc. of module Module Categories
Developer doc. of module This page

Features

The category module adds a way to classify objects in one or multiple categories.

It is available for:

- Products / Services (type 0)

- Suppliers (type 1)

- Customers (type 2)

- Members (type 3)

- Contacts (type 4)

- Projects (type 6)

- User (type 7)

..

Entity Category

The PHP class to use to manipulate such object is file htdocs/categories/class/categorie.class.php.

It contains CRUD methods to create (C), read (R), update (U) and delete (D) this object.

Permissions

  • ->categorie->lire
  • ->categorie->creer
  • ->categorie->supprimer
  • ->categorie->voir

Tables SQL