Moodle/Programming/OUTPUT
をテンプレートにして作成
[
トップ
] [
タイトル一覧
|
ページ一覧
|
新規
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
** $OUTPUT [#scff3424]
- http://docs.moodle.org/dev/Output_renderers
- lib/outputrenderers.php
*** OUTPUT [#ib4a87b2]
- echo $OUTPUT->heading()
- echo $OUTPUT->footer()
- echo $OUTPUT->box_start()
- echo $OUTPUT->box_end()
- echo $OUTPUT->help_icon()
- echo $OUTPUT->single_select()
- echo $OUTPUT->user_picture($user, array('courseid'=>$co...
- echo $OUTPUT->action_link($url, $icon_url, new popup_ac...
**** $OUTPUT->header() [#yfe4871a]
- %%print_header($title, $heading, $navigation, $focus, $...
-- $PAGE と $OUTPUT を使う
$PAGE->set_title($title);
$PAGE->set_heading($heading);
$PAGE->set_cacheable($cache); // true
$PAGE->set_button($button); // ' '
$PAGE->set_headingmenu($menu);
require_login($course->id);
echo $OUTPUT->header();
**** $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, ti...
* @return string HTML fragment
*/
public function single_button($url, $label, $method='po...
**** $OUTPUT->action_link($url, $icon_url, new popup_acti...
**** $OUTPUT->user_picture(stdClass $user, array $option...
- lib/outputrenderers.php
- lib/outputcomponents.php
- $user : ユーザオブジェクト
- $options: courseid, link=true, size=35, alttext=true, p...
終了行:
** $OUTPUT [#scff3424]
- http://docs.moodle.org/dev/Output_renderers
- lib/outputrenderers.php
*** OUTPUT [#ib4a87b2]
- echo $OUTPUT->heading()
- echo $OUTPUT->footer()
- echo $OUTPUT->box_start()
- echo $OUTPUT->box_end()
- echo $OUTPUT->help_icon()
- echo $OUTPUT->single_select()
- echo $OUTPUT->user_picture($user, array('courseid'=>$co...
- echo $OUTPUT->action_link($url, $icon_url, new popup_ac...
**** $OUTPUT->header() [#yfe4871a]
- %%print_header($title, $heading, $navigation, $focus, $...
-- $PAGE と $OUTPUT を使う
$PAGE->set_title($title);
$PAGE->set_heading($heading);
$PAGE->set_cacheable($cache); // true
$PAGE->set_button($button); // ' '
$PAGE->set_headingmenu($menu);
require_login($course->id);
echo $OUTPUT->header();
**** $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, ti...
* @return string HTML fragment
*/
public function single_button($url, $label, $method='po...
**** $OUTPUT->action_link($url, $icon_url, new popup_acti...
**** $OUTPUT->user_picture(stdClass $user, array $option...
- lib/outputrenderers.php
- lib/outputcomponents.php
- $user : ユーザオブジェクト
- $options: courseid, link=true, size=35, alttext=true, p...
ページ名: