flagflag  
  • View the source.
  • Moodle/Programming/function get_coursemodule_from_id has been deleted.
1: 2021-07-29 (Thu) 14:21:20 iseki source Cur: 1970-01-01 (Thu) 18:00:00 source
Line 1: Line 1:
-*** function get_coursemodule_from_id [#ta601390] 
-- get_coursemodule_from_id($dbname, $id) 
--- $dbname : モジュール名 
--- $id : モジュールのインスタンスID 
- $cm = get_coursemodule_from_id('altwiki', 60); 
- print_r($cm); 
- 
- [id] => 60        モジュールオブジェクトのインスタンスID (Moodle全体で一意的) 
- [course] => 2      コースID 
- [module] => 56    モジュールID 
- [instance] => 2    そのモジュール内でのインスタンスID (モジュール内で一意的.データベースのID) 
- [section] => 2 
- [idnumber] => 
- [added] => 1371440189 
- [score] => 0 
- [indent] => 0 
- [visible] => 1 
- [visibleold] => 1 
- [groupmode] => 0 
- [groupingid] => 0 
- [groupmembersonly] => 0 
- [completion] => 0 
- [completiongradeitemnumber] => 
- [completionview] => 0 
- [completionexpected] => 0 
- [availablefrom] => 0 
- [availableuntil] => 0 
- [showavailability] => 0 
- [showdescription] => 0 
- [name] => ALT2 
- [modname] => altwiki 
- 
-#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 MonthJan 2026Next 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

164 user(s) are online (10 user(s) are browsing xpwiki)

Members: 0
Guests: 164

more...

Access Counter

Today : 3680368036803680
Yesterday : 2854128541285412854128541
Total : 4814205448142054481420544814205448142054481420544814205448142054
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com