Class ilMMCustomProvider.
More...
◆ getSingleCustomItem()
◆ provideTypeInformation()
ilMMCustomProvider::provideTypeInformation |
( |
| ) |
|
◆ translateByline()
ilMMCustomProvider::translateByline |
( |
string |
$type | ) |
|
|
private |
- Parameters
-
- Returns
- string
Definition at line 157 of file class.ilMMCustomProvider.php.
Referenced by provideTypeInformation().
159 $last_part = substr(strrchr(
$type,
"\\"), 1);
160 $last_part = strtolower(preg_replace(
'/(?<!^)[A-Z]/',
'_$0', $last_part));
162 return $this->dic->language()->txt(
"type_" . strtolower($last_part) .
"_info");
◆ translateType()
ilMMCustomProvider::translateType |
( |
string |
$type | ) |
|
|
private |
- Parameters
-
- Returns
- string
Definition at line 143 of file class.ilMMCustomProvider.php.
Referenced by provideTypeInformation().
145 $last_part = substr(strrchr(
$type,
"\\"), 1);
146 $last_part = strtolower(preg_replace(
'/(?<!^)[A-Z]/',
'_$0', $last_part));
148 return $this->dic->language()->txt(
"type_" . strtolower($last_part));
◆ $dic
The documentation for this class was generated from the following file: