1: 2012-04-14 (土) 09:37:29 iseki |
2: 2012-04-14 (土) 10:18:24 iseki |
- | ** Moodle 1.9 → 2.x [#y30cbb4d] | + | ** Moodle 1.9 -> 2.x [#y30cbb4d] |
| + | - [[1.9>../1.9]] |
| + | - [[2.x>../2.x]] |
| + | #br |
| *** DB [#g671c657] | | *** DB [#g671c657] |
| + | - $DB 必須 |
| + | |
| **** 1.9 [#ma608eb6] | | **** 1.9 [#ma608eb6] |
| + | - %%get_record($table, $field1, $value1, $field2="", $value2="", $field3="", $value3="", $fields='*')%% |
| + | - %%get_records($table, $field="", $value="", $sort="", $fields='*', $limitfrom="", $limitnum="") %% |
| + | |
| **** 2.x [#k2c87506] | | **** 2.x [#k2c87506] |
| + | - DataBase には $DB 変数を使用してアクセスする.関数の直接呼出しは全て廃止された. |
| + | - $DB-> get_record($table, array $conditions, $fields='*', $strictness=IGNORE_MISSING) |
| + | - $DB->get_records($table, array $conditions=null, $sort='', $fields='*', $limitfrom=0, $limitnum=0) |
| + | - .... |
| #br | | #br |
| + | |
| *** 権限 [#hcf796d2] | | *** 権限 [#hcf796d2] |
| **** 1.9 [#j36c195a] | | **** 1.9 [#j36c195a] |
| **** 2.x [#se62698c] | | **** 2.x [#se62698c] |
| - see jbxl_moodle_tools.php | | - see jbxl_moodle_tools.php |
| + | #br |
| + | *** Heading, Footer [#ib4a87b2] |
| + | **** 1.9 [#w13fb3f0] |
| + | - %%print_heading()%% |
| + | - %%print_footer()%% |
| + | **** 2.x [#m34a66ec] |
| + | - $OUTPUT->heading() |
| + | - $OUTPUT->footer() |
| + | #br |
| + | *** HTML [#u71f5b4f] |
| + | **** 1.9 [#z18d6031] |
| + | - %%choose_from_menu()%% → html_writer::select() |
| + | - %%print_date_selector("endday", "endmonth", "endyear")%% → html_writer::select_time() を3回使用する |
| + | |
| + | **** 2.x [#c156b5e2] |
| + | - html_writer::select() |
| + | $ltimes = array(1=>0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120); |
| + | echo html_writer::select($ltimes, 'lmin', 1, false); |
| + | - html_writer::select_time() |
| + | echo html_writer::select_time('years', 'startyear', 0); |
| + | echo html_writer::select_time('months', 'startmonth', 0); |
| + | echo html_writer::select_time('days', 'startday', 0); |
| + | |
| + | #br |
| + | |
| + | *** Help ボタン [#nd3e090e] |
| + | **** 1.9 [#ecbaa178] |
| + | - %%helpbutton()%% |
| + | **** 2.x [#f5f06eb5] |
| + | - $OUTPUT->help_icon() |
| #br | | #br |
|
37 人のユーザが現在オンラインです。 (4 人のユーザが xpwiki を参照しています。)
登録ユーザ: 0
ゲスト: 37
もっと...
|