| [ Index ] |
PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008] |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 148 lines (4 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| get_course_media_files($courseid) X-Ref |
| No description |
| is_image_by_extension($file) X-Ref |
| determines whether or not a file is an image, based on the file extension param: string $file the filename return: boolean |
| is_media_by_extension($file) X-Ref |
| determines whether or not a file is a media file, based on the file extension param: string $file the filename return: boolean |
| is_multimedia_by_extension($file) X-Ref |
| determines whether or not a file is a multimedia file, based on the file extension param: string $file the filename return: boolean |
| is_sizable_multimedia($file) X-Ref |
| determines whether or not a file is a multimedia file of a type php can get the dimension for, based on the file extension param: string $file the filename return: boolean |
| get_media_tag($file, $courseid = 0, $alt = 'media file', $width = 0, $height = 0) X-Ref |
| creates a media tag to use for choice media param: string $file the filename param: string $courseid the course id param: string $alt to specify the alt tag return: string either an image tag, or html for an embedded object |
| get_file_dimensions($file) X-Ref |
| determines the x and y size of the given file param: string $file the filename return: array looks like array('x'=>171, 'y'=>323), or array('x'=>0, 'y'=>0) if size can't be determined |
| Generated: Wed Jan 14 11:33:29 2009 | Cross-referenced by PHPXref 0.7 |