class/oledrion_utils.php 1 location
|
@@ 1761-1769 (lines=9) @@
|
| 1758 |
|
* @return string |
| 1759 |
|
* @since 2.3.2009.03.13 |
| 1760 |
|
*/ |
| 1761 |
|
public static function htmlSelect($selectName, $array, $default, $withNull = true) |
| 1762 |
|
{ |
| 1763 |
|
$ret = ''; |
| 1764 |
|
$ret .= "<select name='" . $selectName . "' id='" . $selectName . "'>\n"; |
| 1765 |
|
$ret .= static::htmlSelectOptions($array, $default, $withNull); |
| 1766 |
|
$ret .= "</select>\n"; |
| 1767 |
|
|
| 1768 |
|
return $ret; |
| 1769 |
|
} |
| 1770 |
|
|
| 1771 |
|
/** |
| 1772 |
|
* Extrait l'id d'une chaine formatée sous la forme xxxx-99 (duquel on récupère 99) |
class/utility.php 1 location
|
@@ 1904-1912 (lines=9) @@
|
| 1901 |
|
* @return string |
| 1902 |
|
* @since 2.3.2009.03.13 |
| 1903 |
|
*/ |
| 1904 |
|
public static function htmlSelect($selectName, $array, $default, $withNull = true) |
| 1905 |
|
{ |
| 1906 |
|
$ret = ''; |
| 1907 |
|
$ret .= "<select name='" . $selectName . "' id='" . $selectName . "'>\n"; |
| 1908 |
|
$ret .= self::htmlSelectOptions($array, $default, $withNull); |
| 1909 |
|
$ret .= "</select>\n"; |
| 1910 |
|
|
| 1911 |
|
return $ret; |
| 1912 |
|
} |
| 1913 |
|
|
| 1914 |
|
/** |
| 1915 |
|
* Extrait l'id d'une chaine formatée sous la forme xxxx-99 (duquel on récupère 99) |