- 現在との差分 を表示
- ソース を表示
- Moodle/Hacking/2.x へ行く。
1: 2012-04-14 (土) 09:01:07 iseki | |||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ** Moodle-2.x Hacking [#u16c02ee] | ||
+ | *** 日付 [#d8f40c6e] | ||
+ | - 2.x で print_time_selector() は非推奨となった (おまけに 2.2.2+ ではバグっとる) | ||
+ | function print_time_selector($hour, $minute, $currenttime=0, $step=5, $return=false) { | ||
+ | debugging('print_time_selector() has been deprecated. Please change your code to use html_writer.'); | ||
+ | $hourselector = html_writer::select_time('hours', $hour, $currenttime); | ||
+ | $minuteselector = html_writer::select_time('minutes', $minute, $currenttime, $step); | ||
+ | |||
+ | $output = $hourselector . $minuteselector; | ||
+ | |||
+ | if ($return) { | ||
+ | return $output; | ||
+ | } else { | ||
+ | echo $output; | ||
+ | } | ||
+ | } |
- Moodle/Hacking/2.x のバックアップ一覧
- Moodle/Hacking/2.x のバックアップ差分(No. All)
- 1: 2012-04-14 (土) 09:01:07 iseki
- 2: 2012-04-15 (日) 17:47:17 iseki
- 3: 2012-04-20 (金) 14:21:42 iseki
- 現: 2014-11-21 (金) 12:08:46 iseki