См. определение в файле path.php строка 7
◆ addLangId()
| addLangId |
( |
string | $path, |
|
|
string | $langId, |
|
|
?array | $langs = null ) |
|
static |
Adds language folder and code into path.
- Аргументы
-
| string | $path | Path to check. |
| string | $langId | Language code to add. |
| string[] | $langs | Languages list. |
- Возвращает
- string
См. определение в файле path.php строка 151
◆ checkCreatePath()
| checkCreatePath |
( |
string | $path | ) |
|
|
static |
Checks existence or creates of the directory path.
- Аргументы
-
| string | $path | Path to check. |
- Возвращает
- bool
См. определение в файле path.php строка 180
◆ extractLangId()
| extractLangId |
( |
string | $path | ) |
|
|
static |
Detects and returns language code from a path.
- Аргументы
-
| string | $path | Path to check. |
- Возвращает
- string|null
См. определение в файле path.php строка 78
◆ isLangDir()
| isLangDir |
( |
string | $path, |
|
|
bool | $additionalCheck = false ) |
|
static |
Checks if it is translation folder.
- Аргументы
-
| string | $path | Path to check. |
| bool | $additionalCheck | Preforms additional check. |
- Возвращает
- bool
См. определение в файле path.php строка 45
◆ isPhpFile()
| isPhpFile |
( |
string | $path, |
|
|
bool | $checkExistence = false ) |
|
static |
Checks if it is php file.
- Аргументы
-
| string | $path | Path to check. |
| bool | $cechExistence | |
- Возвращает
- bool
См. определение в файле path.php строка 206
◆ removeLangId()
| removeLangId |
( |
string | $path, |
|
|
?array | $langs = null ) |
|
static |
Removes language folder and code from path.
- Аргументы
-
| string | $path | Path to check. |
| string[] | $langs | Languages list. |
- Возвращает
- string
См. определение в файле path.php строка 114
◆ replaceLangId()
| replaceLangId |
( |
string | $path, |
|
|
string | $langId ) |
|
static |
Replaces language code in the path.
- Аргументы
-
| string | $path | Path to check. |
| string | $langId | Language code to add. |
- Возвращает
- string
См. определение в файле path.php строка 98
◆ secure()
Removes unsecured path parts.
- Аргументы
-
| string | $path | Path to check. |
- Возвращает
- string
См. определение в файле path.php строка 30
◆ tidy()
Normalizes path splitter symbols.
- Аргументы
-
| string | $path | Path to check. |
- Возвращает
- string
См. определение в файле path.php строка 16
Объявления и описания членов класса находятся в файле:
- C:/bitrix/modules/translate/lib/io/path.php