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 MonthOct 2025Next 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

Access Counter

Today : 6342963429634296342963429
Yesterday : 6796167961679616796167961
Total : 3050098330500983305009833050098330500983305009833050098330500983
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com