Skip to content

Commit

Permalink
Doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Oct 8, 2019
1 parent e4e79a5 commit 651dec8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
20 changes: 10 additions & 10 deletions htdocs/core/modules/product/mod_codeproduct_elephant.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class mod_codeproduct_elephant extends ModeleProductCode
/**
* @var string Nom du modele
* @deprecated
* @see name
* @see $name
*/
public $nom='Elephant';

Expand Down Expand Up @@ -244,16 +244,16 @@ public function verif_prefixIsUsed()
/**
* Check validity of code according to its rules
*
* @param DoliDB $db Database handler
* @param string $code Code to check/correct
* @param DoliDB $db Database handler
* @param string $code Code to check/correct
* @param Product $product Object product
* @param int $type 0 = customer/prospect , 1 = supplier
* @return int 0 if OK
* -1 ErrorBadCustomerCodeSyntax
* -2 ErrorCustomerCodeRequired
* -3 ErrorCustomerCodeAlreadyUsed
* -4 ErrorPrefixRequired
* -5 Other (see this->error)
* @param int $type 0 = product , 1 = service
* @return int 0 if OK
* -1 ErrorBadCustomerCodeSyntax
* -2 ErrorCustomerCodeRequired
* -3 ErrorCustomerCodeAlreadyUsed
* -4 ErrorPrefixRequired
* -5 Other (see this->error)
*/
public function verif($db, &$code, $product, $type)
{
Expand Down
18 changes: 9 additions & 9 deletions htdocs/core/modules/product/mod_codeproduct_leopard.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class mod_codeproduct_leopard extends ModeleProductCode
/**
* @var string Nom du modele
* @deprecated
* @see name
* @see $name
*/
public $nom='Leopard';

Expand Down Expand Up @@ -111,15 +111,15 @@ public function getNextValue($objproduct = 0, $type = -1)
/**
* Check validity of code according to its rules
*
* @param DoliDB $db Database handler
* @param string $code Code to check/correct
* @param DoliDB $db Database handler
* @param string $code Code to check/correct
* @param Product $product Object product
* @param int $type 0 = product , 1 = service
* @return int 0 if OK
* -1 ErrorBadProductCodeSyntax
* -2 ErrorProductCodeRequired
* -3 ErrorProductCodeAlreadyUsed
* -4 ErrorPrefixRequired
* @param int $type 0 = product , 1 = service
* @return int 0 if OK
* -1 ErrorBadProductCodeSyntax
* -2 ErrorProductCodeRequired
* -3 ErrorProductCodeAlreadyUsed
* -4 ErrorPrefixRequired
*/
public function verif($db, &$code, $product, $type)
{
Expand Down

0 comments on commit 651dec8

Please sign in to comment.