|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Try the best way
Definition at line 30 of file resourcelib.php.
Force download of file instead of display
Definition at line 38 of file resourcelib.php.
Display using object tag
Definition at line 32 of file resourcelib.php.
Display inside frame
Definition at line 34 of file resourcelib.php.
Display normal link in new window
Definition at line 36 of file resourcelib.php.
Open directly
Definition at line 40 of file resourcelib.php.
Open in "emulated" pop-up without navigation
Definition at line 42 of file resourcelib.php.
Legacy files conversion in progress
Definition at line 49 of file resourcelib.php.
Legacy files conversion marked as completed
Definition at line 47 of file resourcelib.php.
Legacy files not needed or new resource
Definition at line 45 of file resourcelib.php.
| resourcelib_embed_flash | ( | $ | fullurl, |
| $ | title, | ||
| $ | clicktoopen | ||
| ) |
Returns flash embedding html.
| string | $fullurl | |
| string | $title | |
| string | $clicktoopen |
Definition at line 296 of file resourcelib.php.

| resourcelib_embed_flashvideo | ( | $ | fullurl, |
| $ | title, | ||
| $ | clicktoopen | ||
| ) |
Returns flash video embedding html.
| string | $fullurl | |
| string | $title | |
| string | $clicktoopen |
Definition at line 259 of file resourcelib.php.


| resourcelib_embed_general | ( | $ | fullurl, |
| $ | title, | ||
| $ | clicktoopen, | ||
| $ | mimetype | ||
| ) |
Returns general link or file embedding html.
| string | $fullurl | |
| string | $title | |
| string | $clicktoopen | |
| string | $mimetype |
Definition at line 487 of file resourcelib.php.


| resourcelib_embed_image | ( | $ | fullurl, |
| $ | title | ||
| ) |
Returns image embedding html.
| string | $fullurl | |
| string | $title |
Definition at line 216 of file resourcelib.php.


| resourcelib_embed_mediaplayer | ( | $ | fullurl, |
| $ | title, | ||
| $ | clicktoopen | ||
| ) |
Returns ms media embedding html.
| string | $fullurl | |
| string | $title | |
| string | $clicktoopen |
Definition at line 340 of file resourcelib.php.

| resourcelib_embed_mp3 | ( | $ | fullurl, |
| $ | title, | ||
| $ | clicktoopen | ||
| ) |
Returns mp3 embedding html.
| string | $fullurl | |
| string | $title | |
| string | $clicktoopen |
Definition at line 232 of file resourcelib.php.


| resourcelib_embed_mpeg | ( | $ | fullurl, |
| $ | title, | ||
| $ | clicktoopen | ||
| ) |
Returns mpeg embedding html.
| string | $fullurl | |
| string | $title | |
| string | $clicktoopen |
Definition at line 397 of file resourcelib.php.

| resourcelib_embed_pdf | ( | $ | fullurl, |
| $ | title, | ||
| $ | clicktoopen | ||
| ) |
Returns general link or pdf embedding html.
| string | $fullurl | |
| string | $title | |
| string | $clicktoopen |
Definition at line 460 of file resourcelib.php.

| resourcelib_embed_quicktime | ( | $ | fullurl, |
| $ | title, | ||
| $ | clicktoopen | ||
| ) |
Returns quicktime embedding html.
| string | $fullurl | |
| string | $title | |
| string | $clicktoopen |
Definition at line 363 of file resourcelib.php.

| resourcelib_embed_real | ( | $ | fullurl, |
| $ | title, | ||
| $ | clicktoopen | ||
| ) |
Returns real media embedding html.
| string | $fullurl | |
| string | $title | |
| string | $clicktoopen |
Definition at line 431 of file resourcelib.php.

| resourcelib_get_displayoptions | ( | array $ | enabled, |
| $ | current = null |
||
| ) |
Returns list of available display options
| array | $enabled | list of options enabled in module configuration |
| int | $current | current display options for existing instances |
Definition at line 111 of file resourcelib.php.


| resourcelib_get_extension | ( | $ | fullurl | ) |
Looks for the extension.
| string | $fullurl |
Definition at line 190 of file resourcelib.php.

| resourcelib_guess_url_mimetype | ( | $ | fullurl | ) |
Tries to guess correct mimetype for arbitrary URL
| string | $fullurl |
Definition at line 145 of file resourcelib.php.


| resourcelib_try_file_migration | ( | $ | filepath, |
| $ | cmid, | ||
| $ | courseid, | ||
| $ | component, | ||
| $ | filearea, | ||
| $ | itemid | ||
| ) |
Try on demand migration of file from old course files
| string | $filepath | old file path |
| int | $cmid | migrated course module if |
| int | $courseid | |
| string | $component | |
| string | $filearea | new file area |
| int | $itemid | migrated file item id |
Definition at line 62 of file resourcelib.php.

