Moodle  2.2.1
http://www.collinsharper.com
portfolio_format_image Class Reference
Inheritance diagram for portfolio_format_image:
Collaboration diagram for portfolio_format_image:

Static Public Member Functions

static mimetypes ()
static conflicts ($format)

Detailed Description

image format, subtype of file.

Definition at line 144 of file formats.php.


Member Function Documentation

static conflicts ( format) [static]

whether this format conflicts with the given format this is used for the case where an export location "generally" supports something like FORMAT_PLAINHTML but then in a specific export case, must add attachments which means that FORMAT_RICHHTML is supported in that case which implies removing support for FORMAT_PLAINHTML. Note that conflicts don't have to be bi-directional (eg FORMAT_PLAINHTML conflicts with FORMAT_RICHHTML but not the other way around) and things within the class hierarchy are resolved automatically anyway.

This is really just between subclasses of format_rich and subclasses of format_file.

Parameters:
string$formatone of the FORMAT_XX constants
Returns:
boolean

Reimplemented from portfolio_format.

Definition at line 152 of file formats.php.

static mimetypes ( ) [static]

return all mimetypes that use image.gif (eg all images)

Reimplemented from portfolio_format_file.

Definition at line 148 of file formats.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations