- 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'=>$courseid)
- echo $OUTPUT->action_link($url, $icon_url, new popup_action('click', $url));
$OUTPUT->header()†[edit]
print_header($title, $heading, $navigation, $focus, $meta, $cache, $button, $menu, $usexml, $bodytags, $return) は非推奨
$OUTPUT->single_button()†[edit]
/**
* 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);
$OUTPUT->action_link($url, $icon_url, new popup_action('click', $url));†[edit]
$OUTPUT->user_picture(stdClass $user, array $options = null)†[edit]
- lib/outputrenderers.php
- lib/outputcomponents.php
- $user : ユーザオブジェクト
- $options: courseid, link=true, size=35, alttext=true, popup=false