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
840601a4
Commit
840601a4
authored
8 years ago
by
Laurent Destailleur
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #5451 from grandoc/develop
internationalization of code comment
parents
646e6f49
770da29d
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/categories/class/categorie.class.php
+14
-14
14 additions, 14 deletions
htdocs/categories/class/categorie.class.php
with
14 additions
and
14 deletions
htdocs/categories/class/categorie.class.php
+
14
−
14
View file @
840601a4
...
...
@@ -1008,13 +1008,13 @@ class Categorie extends CommonObject
}
/**
*
Affiche
conten
u de
$this->cats
*
Display
conten
t of
$this->cats
*
* @return void
*/
function
debug_cats
()
{
//
Affiche
$this->cats
//
Display
$this->cats
foreach
(
$this
->
cats
as
$key
=>
$val
)
{
print
'id: '
.
$this
->
cats
[
$key
][
'id'
];
...
...
@@ -1029,11 +1029,11 @@ class Categorie extends CommonObject
/**
* Ret
o
urn
e toutes les
categories
* Return
s all
categories
*
* @param int $type Type of category
* @param boolean $parent Just parent categories if true
* @return array Table
au d'o
bjet Categor
ie
* @return array Table
of O
bje
c
t Categor
y
*/
function
get_all_categories
(
$type
=
null
,
$parent
=
false
)
{
...
...
@@ -1064,9 +1064,9 @@ class Categorie extends CommonObject
}
/**
* Ret
o
urn
e le
n
o
mb
re total de
categories
* Return
s total
n
u
mb
er of
categories
*
* @return int N
o
mb
re de
categories
* @return int N
u
mb
er of
categories
* @deprecated function not used ?
*/
function
get_nb_categories
()
...
...
@@ -1133,7 +1133,7 @@ class Categorie extends CommonObject
}
/**
* Ret
o
urn
e les categories de premier niveau (qui ne sont pas fille
s)
* Return
s the top level categories (which are not girl
s)
*
* @param int $type Type of category
* @return array
...
...
@@ -1144,8 +1144,8 @@ class Categorie extends CommonObject
}
/**
* Ret
o
urn
e les chemin de la categorie, avec les noms des
categories
* separ
es par
$sep (" >> "
par
defaut)
* Return
s the path of the category, with the names of the
categories
* separ
ated by
$sep (" >> "
by
defau
l
t)
*
* @param string $sep Separator
* @param string $url Url
...
...
@@ -1205,7 +1205,7 @@ class Categorie extends CommonObject
/**
* Ret
o
urn
e un tableau contenant la liste des
categories
meres
* Return
s an array containing the list of parent
categories
*
* @return int|array <0 KO, array OK
*/
...
...
@@ -1239,8 +1239,8 @@ class Categorie extends CommonObject
}
/**
* Ret
o
urn
e dans un tableau tous les chemins
possible
s
p
our arriver a la
categor
ie
*
en partant des categories principales, representes par des tableaux de
categories
* Return
s in a table all
possible p
aths to get to the
categor
y
*
starting with the major categories represented by Tables of
categories
*
* @return array
*/
...
...
@@ -1324,8 +1324,8 @@ class Categorie extends CommonObject
/**
* Ret
o
urn
e le
s categories
dont l'id ou le nom correspond
* a
joute des
wildcards
au nom sauf si
$exact = true
* Returns categories
whose id or name match
* a
dd
wildcards
in the name unless
$exact = true
*
* @param int $id Id
* @param string $nom Name
...
...
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