Moodle  2.2.1
http://www.collinsharper.com
convert_factory Class Reference

Static Public Member Functions

static get_converter ($name, $tempdir, $logger=null)

Detailed Description

Factory class to create new instances of backup converters

Definition at line 30 of file convert_factory.class.php.


Member Function Documentation

static get_converter ( name,
tempdir,
logger = null 
) [static]

Instantinates the given converter operating on a given directory

Exceptions:
coding_exception
Parameters:
$nameThe converter name
$tempdirThe temp directory to operate on
base_logger|nullif the conversion should be logged, use this logger
Returns:
base_converter

Definition at line 41 of file convert_factory.class.php.

Here is the call graph for this function:

Here is the caller graph for this function:


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