FIX : functions visibility

This commit is contained in:
Gauthier PC portable 024 2021-07-30 15:35:31 +02:00
parent 846f0366d3
commit 142f93e50c
4 changed files with 5 additions and 5 deletions

View File

@ -504,7 +504,7 @@ class modStockTransfer extends DolibarrModules
* Returns next available id to insert new roles in llx_c_type_contact * Returns next available id to insert new roles in llx_c_type_contact
* @return int > 0 if OK, < 0 if KO * @return int > 0 if OK, < 0 if KO
*/ */
function getNextId() public function getNextId()
{ {
global $db; global $db;

View File

@ -830,7 +830,7 @@ class pdf_eagle extends ModelePdfStockTransfer
* @param $object Stock Transfer object * @param $object Stock Transfer object
* @return bool true if at least one line has batch set, false if not * @return bool true if at least one line has batch set, false if not
*/ */
function atLeastOneBatch($object) public function atLeastOneBatch($object)
{ {
$atLeastOneBatch = false; $atLeastOneBatch = false;

View File

@ -354,7 +354,7 @@ class StockTransfer extends CommonObject
* @param $b 1st element to test * @param $b 1st element to test
* @return int * @return int
*/ */
function cmp($a, $b) public function cmp($a, $b)
{ {
if ($a->rang == $b->rang) { if ($a->rang == $b->rang) {
return 0; return 0;
@ -367,7 +367,7 @@ class StockTransfer extends CommonObject
* *
* @return float total amount of Stock Transfer * @return float total amount of Stock Transfer
*/ */
function getValorisationTotale() public function getValorisationTotale()
{ {
$total_pmp = 0; $total_pmp = 0;

View File

@ -443,7 +443,7 @@ class StockTransferLine extends CommonObject
* @param int $direction add or remove qty * @param int $direction add or remove qty
* @return int 1 if ok, <= 0 if ko * @return int 1 if ok, <= 0 if ko
*/ */
function doStockMovement($label, $fk_entrepot, $direction = 1) public function doStockMovement($label, $fk_entrepot, $direction = 1)
{ {
global $db, $conf, $user, $langs; global $db, $conf, $user, $langs;