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

Static Public Member Functions

static mimetypes ()
static conflicts ($format)

Detailed Description

class for plain text format.. not sure why we would need this yet but since resource module wants to export it... we can

Definition at line 193 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 198 of file formats.php.

static mimetypes ( ) [static]

array of mimetypes this format supports

Reimplemented from portfolio_format_file.

Definition at line 194 of file formats.php.


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