906 |
} |
} |
907 |
} |
} |
908 |
|
|
909 |
|
|
910 |
|
/** |
911 |
|
* \brief Retourne le libellé du statut de la commande |
912 |
|
* \return string Libellé |
913 |
|
*/ |
914 |
|
function getLibStatut() |
915 |
|
{ |
916 |
|
return $this->LibStatut($this->statut); |
917 |
|
} |
918 |
|
|
919 |
|
/** |
920 |
|
* \brief Renvoi le libellé d'un statut donné |
921 |
|
* \param statut id statut |
922 |
|
* \return string Libellé |
923 |
|
*/ |
924 |
|
function LibStatut($statut) |
925 |
|
{ |
926 |
|
return $this->status_label_short[$statut]; |
927 |
|
} |
928 |
|
|
929 |
|
|
930 |
/** |
/** |
931 |
* \brief Charge les informations d'ordre info dans l'objet commande |
* \brief Charge les informations d'ordre info dans l'objet commande |
932 |
* \param id Id de la commande a charger |
* \param id Id de la commande a charger |