From 2f346f3deded72d459941356c5022a3bf334adaa Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 20 Jan 2011 12:14:58 +0100 Subject: [PATCH] LSattr_html : Added getFormVal() method --- public_html/includes/class/class.LSattr_html.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/public_html/includes/class/class.LSattr_html.php b/public_html/includes/class/class.LSattr_html.php index 2d7e1cc5..ba583de3 100644 --- a/public_html/includes/class/class.LSattr_html.php +++ b/public_html/includes/class/class.LSattr_html.php @@ -104,6 +104,18 @@ class LSattr_html { function refreshForm($data) { return $data; } + + /** + * Return the values to be displayed in the LSform + * + * @param[in] $data The values of attribute + * + * @retval array The values to be displayed in the LSform + **/ + function getFormVal($data) { + return $this -> attribute -> getDisplayValue(); + } + } /*