diff --git a/classes/helper/Helper.php b/classes/helper/Helper.php index e015ae857..52422b6e1 100755 --- a/classes/helper/Helper.php +++ b/classes/helper/Helper.php @@ -213,73 +213,6 @@ class HelperCore return $html; } - /** - * Create a select input field - * - * @param array $values - * @param array $html_options any key => value options - * @param array $select_options - * - key: the array value that will be used as a key in my select (optional) - * - value: the array value that will be used as a label in my select (optional) - * - empty: the label displayed as an empty value (optional) - * - selected: the key corresponding to the selected value (optional) - * - * @return string html content - */ - public static function selectInput(array $values, array $html_options = array(), array $select_options = array()) - { - // options management - $options = self::buildHtmlOptions($html_options); - $select_html = ''; - return $select_html; - } - - /** - * Create html a string containing html options - * eg: buildHtmlOptions(array('name' => 'myInputName', 'id' => 'myInputId')); - * return => 'name="myInputName" id="myInputId"' - * - * @param array $html_options - * - * @return string - */ - protected static function buildHtmlOptions(array $html_options) - { - $html = ''; - - foreach ($html_options as $html_option => $value) - $html .= Tools::htmlentitiesUTF8($html_option).'="'.Tools::htmlentitiesUTF8($value).'" '; - - return rtrim($html, ' '); - } - /** * use translations files to replace english expression. *