Code comment

This commit is contained in:
Laurent Destailleur 2021-09-08 20:59:56 +02:00
parent 405beb77f5
commit bfa75e91e2

View File

@ -175,6 +175,9 @@ class Product extends CommonObject
public $prices_by_qty_id = array();
public $prices_by_qty_list = array();
//! Array for multilangs
public $multilangs = array();
//! Default VAT code for product (link to code into llx_c_tva but without foreign keys)
public $default_vat_code;
@ -350,8 +353,6 @@ class Product extends CommonObject
public $stats_mrptoconsume = array();
public $stats_mrptoproduce = array();
public $multilangs = array();
//! Size of image
public $imgWidth;
public $imgHeight;
@ -2229,8 +2230,8 @@ class Product extends CommonObject
* @param string $ref_ext Ref ext of product/service to load
* @param string $barcode Barcode of product/service to load
* @param int $ignore_expression When module dynamicprices is on, ignores the math expression for calculating price and uses the db value instead
* @param int $ignore_price_load Load product without loading prices arrays (when we are sure we don't need them)
* @param int $ignore_lang_load Load product without loading language arrays (when we are sure we don't need them)
* @param int $ignore_price_load Load product without loading $this->multiprices... array (when we are sure we don't need them)
* @param int $ignore_lang_load Load product without loading $this->multilangs language arrays (when we are sure we don't need them)
* @return int <0 if KO, 0 if not found, >0 if OK
*/
public function fetch($id = '', $ref = '', $ref_ext = '', $barcode = '', $ignore_expression = 0, $ignore_price_load = 0, $ignore_lang_load = 0)