79 $path = $this->getPath();
88 foreach (Translate\ASSIGNMENT_TYPES as $testEntry)
90 $testPath =
'/bitrix/'. $testEntry;
91 if (\mb_strpos($path, $testPath.
'/') === 0 || $path == $testPath)
101 if ($moduleName !==
null)
103 $assignment =
'modules';
105 foreach (Translate\ASSIGNMENT_TYPES as $testEntry)
114 $testPath =
'/bitrix/modules/'.$moduleName.
'/install/'. $testEntry;
115 if (\mb_strpos($path, $testPath.
'/') === 0 || $path == $testPath)
119 if ($testEntry ==
'templates')
122 $testPath =
'/bitrix/modules/'.$moduleName.
'/install/public/'. $testEntry;
123 if (\mb_strpos($path, $testPath.
'/') === 0 || $path == $testPath)
129 $testPath =
'/bitrix/modules/'.$moduleName.
'/install/bitrix/'. $testEntry;
130 if (\mb_strpos($path, $testPath.
'/') === 0 || $path == $testPath)
141 $testPath =
'/bitrix/modules/'.$moduleName.
'/lang/#LANG_ID#/'. $testEntry;
142 if (\mb_strpos($path, $testPath.
'/') === 0 || $path == $testPath)
147 $testPath =
'/bitrix/modules/'.$moduleName.
'/lang/#LANG_ID#/install/'. $testEntry;
148 if (\mb_strpos($path, $testPath.
'/') === 0 || $path == $testPath)
155 $testPath =
'/bitrix/modules/'.$moduleName.
'/handlers/'. $testEntry;
156 if (\mb_strpos($path, $testPath.
'/') === 0 || $path == $testPath)