LSattr_html_select_object : Added getFormVal() method
authorBenjamin Renard <brenard@easter-eggs.com>
Thu, 20 Jan 2011 11:15:30 +0000 (12:15 +0100)
committerBenjamin Renard <brenard@easter-eggs.com>
Thu, 20 Jan 2011 11:15:30 +0000 (12:15 +0100)
public_html/includes/class/class.LSattr_html_select_object.php

index a6ad626..ccef8a9 100644 (file)
@@ -203,6 +203,17 @@ class LSattr_html_select_object extends LSattr_html{
     return false;
   }
 
+  /**
+   * 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 $data;
+  }
+
 }
 
 /*