diff --git a/public_html/includes/class/class.LSattr_html_supannTypeEntiteAffectation.php b/public_html/includes/class/class.LSattr_html_supannTypeEntiteAffectation.php new file mode 100644 index 00000000..58052554 --- /dev/null +++ b/public_html/includes/class/class.LSattr_html_supannTypeEntiteAffectation.php @@ -0,0 +1,34 @@ + + */ +class LSattr_html_supannTypeEntiteAffectation extends LSattr_html { + + var $LSformElement_type = 'supannTypeEntiteAffectation'; + +} + +?> diff --git a/public_html/includes/class/class.LSformElement_supannTypeEntiteAffectation.php b/public_html/includes/class/class.LSformElement_supannTypeEntiteAffectation.php new file mode 100644 index 00000000..b712fccd --- /dev/null +++ b/public_html/includes/class/class.LSformElement_supannTypeEntiteAffectation.php @@ -0,0 +1,50 @@ + + */ + +class LSformElement_supannTypeEntiteAffectation extends LSformElement_supannLabeledValue { + + /** + * Traduit une valeur + * + * @param[in] $value La valeur + * + * @retval array Un tableau cle->valeur contenant translated et label ou False + **/ + function translate($value) { + return supannTranslateRoleEntiteValue('type',$value); + } + + +} +