LSattr_html : Added getFormVal() method

This commit is contained in:
Benjamin Renard 2011-01-20 12:14:58 +01:00
parent aa58a6932c
commit 2f346f3ded

View file

@ -104,6 +104,18 @@ class LSattr_html {
function refreshForm($data) { function refreshForm($data) {
return $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();
}
} }
/* /*