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

Public Member Functions

 protected_is_queued ($langcode= '')
 protected_add_to_queue ($langcodes)

Protected Member Functions

 install_language_pack ($langcode)
 get_parent_language ($langcode)

Detailed Description

Testable lang_installer subclass that does not actually install anything and provides access to the protected methods of the parent class

Definition at line 117 of file testcomponentlib.php.


Member Function Documentation

get_parent_language ( langcode) [protected]

Simulate detection of parent languge

See also:
parent::get_parent_language()

Reimplemented from lang_installer.

Definition at line 167 of file testcomponentlib.php.

install_language_pack ( langcode) [protected]

Simulate lang pack installation via component_installer

Language packages 'de_du' and 'de_kids' reported as installed Language packages 'cs' and 'de' reported as up-to-date Language package 'xx' returns download error All other language packages will throw an unknown exception

See also:
parent::install_language_pack()

Reimplemented from lang_installer.

Definition at line 143 of file testcomponentlib.php.

protected_add_to_queue ( langcodes)
See also:
parent::add_to_queue()

Definition at line 129 of file testcomponentlib.php.

Here is the call graph for this function:

protected_is_queued ( langcode = '')
See also:
parent::is_queued()

Definition at line 122 of file testcomponentlib.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