| [ Index ] |
PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008] |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 1171 lines (44 kb) |
| Included or required: | 17 times |
| Referenced: | 2 times |
| Includes or requires: | 3 files mod/scorm/datamodels/scormlib.php mod/scorm/datamodels/aicclib.php mod/scorm/lib.php |
| scorm_delete_files($directory) X-Ref |
| This function will permanently delete the given directory and all files and subdirectories. param: string $directory The directory to remove return: boolean |
| scorm_scandir($directory) X-Ref |
| Given a diretory path returns the file list param: string $directory return: array |
| scorm_tempdir($strPath) X-Ref |
| Create a new temporary subdirectory with a random name in the given path param: string $strpath The scorm data directory return: string/boolean |
| scorm_array_search($item, $needle, $haystacks, $strict=false) X-Ref |
| No description |
| scorm_repeater($what, $times) X-Ref |
| No description |
| scorm_external_link($link) X-Ref |
| No description |
| scorm_get_sco($id,$what=SCO_ALL) X-Ref |
| Returns an object containing all datas relative to the given sco ID param: integer $id The sco ID return: mixed (false if sco id does not exists) |
| scorm_get_scoes($id,$organisation=false) X-Ref |
| Returns an object (array) containing all the scoes data related to the given sco ID param: integer $id The sco ID param: integer $organisation an organisation ID - defaults to false if not required return: mixed (false if there are no scoes or an array) |
| scorm_insert_track($userid,$scormid,$scoid,$attempt,$element,$value) X-Ref |
| No description |
| scorm_get_tracks($scoid,$userid,$attempt='') X-Ref |
| No description |
| scorm_get_user_data($userid) X-Ref |
| No description |
| scorm_grade_user_attempt($scorm, $userid, $attempt=1, $time=false) X-Ref |
| No description |
| scorm_grade_user($scorm, $userid, $time=false) X-Ref |
| No description |
| scorm_count_launchable($scormid,$organization='') X-Ref |
| No description |
| scorm_get_last_attempt($scormid, $userid) X-Ref |
| No description |
| scorm_course_format_display($user,$course) X-Ref |
| No description |
| scorm_view_display($user, $scorm, $action, $cm, $boxwidth='') X-Ref |
| No description |
| scorm_simple_play($scorm,$user) X-Ref |
| No description |
| scorm_parse($scorm) X-Ref |
| No description |
| scorm_validate_manifest($manifest) X-Ref |
| Given a manifest path, this function will check if the manifest is valid param: string $manifest The manifest file return: object |
| scorm_validate_aicc($packagedir) X-Ref |
| Given a aicc package directory, this function will check if the course structure is valid param: string $packagedir The aicc package directory path return: object |
| scorm_validate($data) X-Ref |
| No description |
| scorm_check_package($data) X-Ref |
| No description |
| scorm_get_count_users($scormid, $groupingid=null) X-Ref |
| No description |
| scorm_reconstitute_array_element($sversion, $userdata, $element_name, $children) X-Ref |
| Build up the JavaScript representation of an array element param: string $sversion SCORM API version param: array $userdata User track data param: string $element_name Name of array element to get values for param: array $children list of sub elements of this array element that also need instantiating return: None |
| scorm_element_cmp($a, $b) X-Ref |
| Build up the JavaScript representation of an array element param: string $a left array element param: string $b right array element return: comparator - 0,1,-1 |
| Generated: Wed Jan 14 11:33:29 2009 | Cross-referenced by PHPXref 0.7 |