flagflag  
5: 2013-03-21 (Thu) 01:17:49 iseki source 6: 2013-03-21 (Thu) 22:35:49 iseki source
Line 1: Line 1:
-* 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);
Line 45: Line 61:
 $lastpos = $DB->get_field_sql($sql, $params);  $lastpos = $DB->get_field_sql($sql, $params);
-** Form [#w899e9f2]+** Class of System [#nc1c6d75] 
 +*** Form [#w899e9f2]
MoodleQuickForm::registerElementType('ad​vcheckbox', "$CFG->libdir/form/advcheckbox.php", 'MoodleQuickForm_advcheckbox'); MoodleQuickForm::registerElementType('ad​vcheckbox', "$CFG->libdir/form/advcheckbox.php", 'MoodleQuickForm_advcheckbox');
MoodleQuickForm::registerElementType('bu​tton', "$CFG->libdir/form/button.php", 'MoodleQuickForm_button'); MoodleQuickForm::registerElementType('bu​tton', "$CFG->libdir/form/button.php", 'MoodleQuickForm_button');
Line 83: Line 100:
#br #br
-** Table [#o8371758]+*** Table [#o8371758]
- lib/tablelib.php - lib/tablelib.php
#br #br


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

19 user(s) are online (1 user(s) are browsing xpwiki)

Members: 0
Guests: 19

more...

Access Counter

Today : 3738373837383738
Yesterday : 4345434543454345
Total : 2366087923660879236608792366087923660879236608792366087923660879
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com