From 7249d9fd52bce64829a7d8ec1035592ee5671d89 Mon Sep 17 00:00:00 2001 From: bn8 Date: Tue, 16 Mar 2010 11:11:29 +0100 Subject: [PATCH] LSattribute : Added getOldValue() method --- public_html/includes/class/class.LSattribute.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/public_html/includes/class/class.LSattribute.php b/public_html/includes/class/class.LSattribute.php index 153903b7..273bbceb 100644 --- a/public_html/includes/class/class.LSattribute.php +++ b/public_html/includes/class/class.LSattribute.php @@ -148,6 +148,17 @@ class LSattribute { return $updateData; } } + + /** + * Retourne la valeur originale de l'attribut + * + * @author Benjamin Renard + * + * @retval mixed La valeur originale de l'attribut + */ + function getOldValue() { + return $this -> data; + } /** * Retourne la valeur d'affichage de l'attribut