Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
03a6c257
Commit
03a6c257
authored
20 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Doc: Mise a jour doc doxygen
parent
4648af39
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/cactioncomm.class.php
+29
-9
29 additions, 9 deletions
htdocs/cactioncomm.class.php
with
29 additions
and
9 deletions
htdocs/cactioncomm.class.php
+
29
−
9
View file @
03a6c257
...
...
@@ -21,19 +21,37 @@
*
*/
/*!
\file htdocs/cactioncomm.class.php
\ingroup commercial
\brief Fichier de la classe des types d'actions commerciales
\version $Revision$
*/
/*! \class CActionComm
\brief Classe permettant la gestion des diffrents types d'actions commerciales
*/
class
CActioncomm
{
var
$id
;
var
$libelle
;
/**
* \brief Constructeur
* \param db Handler d'accs base de donne
*/
function
CActioncomm
(
$DB
=
0
)
{
$this
->
db
=
$DB
;
}
/*
* Rcupration des donnes
*
*/
/**
* \brief Charge l'objet type d'action depuis la base
* \param db handle d'accs base
* \param id id du type d'action rcuprer
* \return int 1=ok, 0=aucune action, -1=erreur
*/
function
fetch
(
$db
,
$id
)
{
...
...
@@ -63,10 +81,11 @@ class CActioncomm {
return
-
1
;
}
}
/*
* \brief Renvoi la liste des type d'actions existant
* \param active 1 ou 0 pour un filtre sur l'etat actif ou non ('' par defaut)
*
*
\brief
Renvoi la liste des type d'actions existant
*
\param
active
1 ou 0 pour un filtre sur l'etat actif ou non ('' par defaut)
*
\return array tableau des types d'actions actifs
*/
function
liste_array
(
$active
=
''
)
{
...
...
@@ -103,8 +122,9 @@ class CActioncomm {
/*
* Renvoie le nom d'une action a partir d'un id
*
* \brief Renvoie le nom d'un type d'action
* \param id id du type d'action
* \return string libelle du type d'action
*/
function
get_nom
(
$id
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment