Difference between revisions of "Module Categories (developer)"

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
m (add user)
 
(19 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 : ??''
+
=Entity Category=
 +
{{TemplateDocDevEntityEn|
 +
class=htdocs/categories/class/categorie.class.php}}
  
== Entité Catégorie ==
+
=Permissions=
A compléter
 
  
== Permissions ==
+
*->categorie->lire
 +
*->categorie->creer
 +
*->categorie->supprimer
 +
*->categorie->voir
  
 +
=Tables SQL=
  
== Tables SQL ==
+
*[[Table llx categorie|llx categorie]] Contains different categories for different "objects" of Dolibarr (suppliers, customers, products, ...)
 +
*[[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