From c8de4a35f0ce6af84264428323e00e06978f44ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Mon, 20 Feb 2023 20:38:10 +0100 Subject: [PATCH] doc --- .../variants/class/ProductAttribute.class.php | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/htdocs/variants/class/ProductAttribute.class.php b/htdocs/variants/class/ProductAttribute.class.php index 74ff3fe238c..194bf16b33f 100644 --- a/htdocs/variants/class/ProductAttribute.class.php +++ b/htdocs/variants/class/ProductAttribute.class.php @@ -1,6 +1,7 @@ * Copyright (C) 2022 Open-Dsi + * Copyright (C) 2023 Frédéric France * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -104,10 +105,37 @@ class ProductAttribute extends CommonObject 'label' => array('type'=>'varchar(255)', 'label'=>'Label', 'enabled'=>'1', 'position'=>30, 'notnull'=>1, 'visible'=>1, 'searchall'=>1, 'css'=>'minwidth300', 'help'=>"", 'showoncombobox'=>'1',), 'position' => array('type'=>'integer', 'label'=>'Rank', 'enabled'=>1, 'visible'=>0, 'default'=>0, 'position'=>40, 'notnull'=>1,), ); + + /** + * @var int rowid + */ public $id; + + /** + * @var string ref + */ public $ref; + + /** + * @var string external ref + */ public $ref_ext; + + /** + * @var string label + */ public $label; + + /** + * @var int position + * @deprecated + * @see $position + */ + public $rang; + + /** + * @var int position + */ public $position; /**