flagflag  
1: 2012-04-14 (Sat) 09:01:07 iseki source
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;
 +   }
 + }


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

52 user(s) are online (4 user(s) are browsing xpwiki)

Members: 0
Guests: 52

more...

Access Counter

Today : 3937393739373937
Yesterday : 9324932493249324
Total : 2358308923583089235830892358308923583089235830892358308923583089
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com