COM getAmPmFormSelection

提供: GeeklogJpWiki

lib-common.php>COM_getAmPmFormSelection

説明

string COM_getAmPmFormSelection(string $name, [string $selected = ''])

時刻(AM PM)選択プルダウンメニュオプションを返す

パラメータ

$name
name of the <select>
$selected
preselection: 'am' or 'pm'

返り値

ドロップダウンHTMLを返す。 但し、$_CONF['hour_mode']が24時間モード時は空文字を返す

個人用ツール