flagflag  
Page Top

OUTPUT anchor.png

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

Front page   Freeze Diff Backup Copy Rename Reload   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)
Counter: 372, today: 3, yesterday: 0
Last-modified: 2021-07-30 (Fri) 18:16:54 (JST) (1004d) by iseki

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthApr 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
Today

Who's Online

52 user(s) are online (15 user(s) are browsing xpwiki)

Members: 0
Guests: 52

more...

Access Counter

Today : 7429742974297429
Yesterday : 1889718897188971889718897
Total : 2342102623421026234210262342102623421026234210262342102623421026
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com