5: 2013-03-21 (木) 01:17:49 iseki |
6: 2013-03-21 (木) 22:35:49 iseki |
- | * 2.4 [#oca60059] | + | ** 大域変数 [#re854caf] |
| | | |
- | ** DB [#z14aa49f] | + | *** OUTPUT [#zcacb98a] |
| + | - lib/outputrenderers.php |
| + | |
| + | #br |
| + | **** $OUTPUT->single_button [#c4cb52dd] |
| + | /** |
| + | * Returns a form with a single button. |
| + | * |
| + | * @param string|moodle_url $url |
| + | * @param string $label button text |
| + | * @param string $method get or post submit method |
| + | * @param array $options associative array {disabled, title, etc.} |
| + | * @return string HTML fragment |
| + | */ |
| + | public function single_button($url, $label, $method='post', array $options=null); |
| + | #br |
| + | |
| + | *** DB [#z14aa49f] |
| - lib/dml/moodle_database.php | | - lib/dml/moodle_database.php |
| #br | | #br |
| | | |
- | *** 大域変数 $DB [#df2c344a] | |
| **** $DB->insert_record [#ua6949a2] | | **** $DB->insert_record [#ua6949a2] |
| - record_id insert_record($table, $dataobject, $returnid=true, $bulk=false); | | - record_id insert_record($table, $dataobject, $returnid=true, $bulk=false); |
| $lastpos = $DB->get_field_sql($sql, $params); | | $lastpos = $DB->get_field_sql($sql, $params); |
| | | |
- | ** Form [#w899e9f2] | + | ** Class of System [#nc1c6d75] |
| + | *** Form [#w899e9f2] |
| MoodleQuickForm::registerElementType('advcheckbox', "$CFG->libdir/form/advcheckbox.php", 'MoodleQuickForm_advcheckbox'); | | MoodleQuickForm::registerElementType('advcheckbox', "$CFG->libdir/form/advcheckbox.php", 'MoodleQuickForm_advcheckbox'); |
| MoodleQuickForm::registerElementType('button', "$CFG->libdir/form/button.php", 'MoodleQuickForm_button'); | | MoodleQuickForm::registerElementType('button', "$CFG->libdir/form/button.php", 'MoodleQuickForm_button'); |
| #br | | #br |
| | | |
- | ** Table [#o8371758] | + | *** Table [#o8371758] |
| - lib/tablelib.php | | - lib/tablelib.php |
| #br | | #br |