flagflag  If you want to see English page, please click "English" Button at Left.
1: 2021-07-29 (木) 13:47:04 iseki ソース 2: 2021-07-29 (木) 14:39:38 iseki ソース
Line 1: Line 1:
** $OUTPUT [#scff3424] ** $OUTPUT [#scff3424]
 +- http://docs.moodle.org/dev/Output_render​ers
 +- lib/outputrenderers.php
 +#br
 +
*** OUTPUT [#ib4a87b2] *** OUTPUT [#ib4a87b2]
-- %%print_heading()%% echo $OUTPUT->heading() +- %%print_heading()%% 
-- %%print_footer()%% echo $OUTPUT->footer() +-- echo $OUTPUT->heading() 
-- %%print_simple_box_start()%% echo $OUTPUT->box_start() +- %%print_footer()%% 
-- %%print_simple_box_end()%% echo $OUTPUT->box_end() +-- echo $OUTPUT->footer() 
-- %%helpbutton()%% echo $OUTPUT->help_icon() +- %%print_simple_box_start()%% 
-- %%popup_form()%% echo $OUTPUT->single_select() +-- echo $OUTPUT->box_start() 
-- %%print_user_picture()%% echo $OUTPUT->user_picture($user, array('courseid'=>$courseid) +- %%print_simple_box_end()%% 
-- %%link_to_popup_window($url, $lavel, $icon_url, $height=400, $width=500, $label)%% echo $OUTPUT->action_link($url, $icon_url, new popup_action('click', $url));+-- echo $OUTPUT->box_end() 
 +- %%helpbutton()%% 
 +-- echo $OUTPUT->help_icon() 
 +- %%popup_form()%% 
 +-- echo $OUTPUT->single_select() 
 +- %%print_user_picture()%% 
 +-- echo $OUTPUT->user_picture($user, array('courseid'=>$courseid) 
 +- %%link_to_popup_window($url, $lavel, $icon_url, $height=400, $width=500, $label)%% 
 +-- echo $OUTPUT->action_link($url, $icon_url, new popup_action('click', $url)); 
 +#br 
 +**** $OUTPUT->header() [#yfe4871a] 
 +- %%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(); 
 +#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 
 +**** $OUTPUT->action_link($url, $icon_url, new popup_action('click', $url)); [#v320cb14]
#br #br


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 5月翌月
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
<今日>

オンライン状況

52 人のユーザが現在オンラインです。 (13 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 52

もっと...

アクセスカウンタ

今日 : 384384384
昨日 : 8599859985998599
総計 : 2364739023647390236473902364739023647390236473902364739023647390
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com