COM topicList
提供: GeeklogJpWiki
lib-common.php>COM topicList
説明
string COM_topicList (string $selection, [string $selected = ''], [int $sortcol = 1], [boolean $ignorelang = false])
話題選択プルダウンメニュオプションを返す
パラメータ
- $selection
- Comma delimited string of fields to pull The first field is the value of the option and the second is the label to be displayed. This is used in a SQL statement and can include DISTINCT to start.
- $selected
- Value (from $selection) to set to SELECTED or default
- $sortcol
- Which field to sort option list by 0 (value) or 1 (label)
- $ignorelang
- Whether to return all topics (true) or only the ones for the current language (false)
返り値
Formated HTML of option values