diff --git a/htdocs/cashdesk/class/Facturation.class.php b/htdocs/cashdesk/class/Facturation.class.php index 240b32e34db4f05707922cfbfbd15638f7a78a56..579d244246bbadc1966d782b0d41ad7a08c17bc1 100644 --- a/htdocs/cashdesk/class/Facturation.class.php +++ b/htdocs/cashdesk/class/Facturation.class.php @@ -37,7 +37,7 @@ class Facturation * int $prix => Prix HT du produit en cours * int $tva => 'rowid' du taux de tva dans llx_c_tva */ - var $id; + public $id; protected $ref; protected $qte; protected $stock; diff --git a/htdocs/hrm/class/establishment.class.php b/htdocs/hrm/class/establishment.class.php index 9ff2e2065cc7121dbad9b9331ffb3ac2ddfbcce6..4438f3ea6ad7c1e93905bfc68aeb867637e2292c 100644 --- a/htdocs/hrm/class/establishment.class.php +++ b/htdocs/hrm/class/establishment.class.php @@ -34,20 +34,20 @@ class Establishment extends CommonObject public $fk_element = 'fk_establishment'; protected $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe - var $id; - var $rowid; + public $id; + public $rowid; - var $name; - var $address; - var $zip; - var $town; - var $status; // 0=open, 1=closed - var $entity; + public $name; + public $address; + public $zip; + public $town; + public $status; // 0=open, 1=closed + public $entity; - var $country_id; + public $country_id; - var $statuts=array(); - var $statuts_short=array(); + public $statuts=array(); + public $statuts_short=array(); /** * Constructor diff --git a/htdocs/product/class/service.class.php b/htdocs/product/class/service.class.php index 2cd785527a5bc1dc53642d2be303774420a6769e..cd3656c21428bb7950ad255315ccc648962c204d 100644 --- a/htdocs/product/class/service.class.php +++ b/htdocs/product/class/service.class.php @@ -29,14 +29,14 @@ require_once DOL_DOCUMENT_ROOT .'/core/class/commonobject.class.php'; */ class Service extends CommonObject { - var $libelle; - var $price; - var $tms; - var $debut; - var $fin; + public $libelle; + public $price; + public $tms; + public $debut; + public $fin; - var $debut_epoch; - var $fin_epoch; + public $debut_epoch; + public $fin_epoch; /** * Constructor diff --git a/htdocs/user/class/usergroup.class.php b/htdocs/user/class/usergroup.class.php index 575fdadebe2cefdaf5a38f6e5f3be34f724317e6..4f96f46f2517246ce45d7ed5515f96c10834f449 100644 --- a/htdocs/user/class/usergroup.class.php +++ b/htdocs/user/class/usergroup.class.php @@ -38,20 +38,20 @@ class UserGroup extends CommonObject public $table_element='usergroup'; protected $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe - var $entity; // Entity of group + public $entity; // Entity of group /** * @deprecated * @see name */ - var $nom; // Name of group - var $globalgroup; // Global group - var $datec; // Creation date of group - var $datem; // Modification date of group - var $members=array(); // Array of users + public $nom; // Name of group + public $globalgroup; // Global group + public $datec; // Creation date of group + public $datem; // Modification date of group + public $members=array(); // Array of users private $_tab_loaded=array(); // Array of cache of already loaded permissions - var $oldcopy; // To contains a clone of this when we need to save old properties of object + public $oldcopy; // To contains a clone of this when we need to save old properties of object /**