ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ILIAS\Tests\Refinery\ilLanguageMock Class Reference
+ Inheritance diagram for ILIAS\Tests\Refinery\ilLanguageMock:
+ Collaboration diagram for ILIAS\Tests\Refinery\ilLanguageMock:

Public Member Functions

 __construct ()
 
 txt (string $a_topic, string $a_default_lang_fallback_mod='')
 
 toJS ($a_lang_key, ilGlobalTemplateInterface $a_tpl=null)
 
 loadLanguageModule (string $a_module)
 

Data Fields

array $requested = []
 
string $lang_module = 'common'
 

Detailed Description

Definition at line 27 of file TestCase.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Tests\Refinery\ilLanguageMock::__construct ( )

Definition at line 33 of file TestCase.php.

34  {
35  }

Member Function Documentation

◆ loadLanguageModule()

ILIAS\Tests\Refinery\ilLanguageMock::loadLanguageModule ( string  $a_module)

Implements ILIAS\Language\Language.

Definition at line 47 of file TestCase.php.

47  : void
48  {
49  }

◆ toJS()

ILIAS\Tests\Refinery\ilLanguageMock::toJS (   $a_lang_key,
ilGlobalTemplateInterface  $a_tpl = null 
)

Definition at line 43 of file TestCase.php.

43  : void
44  {
45  }

◆ txt()

ILIAS\Tests\Refinery\ilLanguageMock::txt ( string  $a_topic,
string  $a_default_lang_fallback_mod = '' 
)

Implements ILIAS\Language\Language.

Definition at line 37 of file TestCase.php.

37  : string
38  {
39  $this->requested[] = $a_topic;
40  return $a_topic;
41  }

Field Documentation

◆ $lang_module

string ILIAS\Tests\Refinery\ilLanguageMock::$lang_module = 'common'

Definition at line 31 of file TestCase.php.

◆ $requested

array ILIAS\Tests\Refinery\ilLanguageMock::$requested = []

Definition at line 30 of file TestCase.php.


The documentation for this class was generated from the following file: