223 public static function getHelpData(
string $code, ?
string $zone =
null): array
225 static $myZone =
null;
228 if ($zone && isset(self::$helpUrl[$code][$zone]))
230 return [self::$helpUrl[$code][$zone], $zone];
233 if ($myZone ===
null)
238 if ($myZone ==
'by' || $myZone ==
'kz')
246 if (isset(self::$helpUrl[$code]))
248 if (isset(self::$helpUrl[$code][$myZone]))
250 $helpId = self::$helpUrl[$code][$myZone];
253 elseif (isset(self::$helpUrl[$code][$defaultZone]))
255 $helpId = self::$helpUrl[$code][$defaultZone];
256 $helpZone = $defaultZone;
260 return [$helpId, $helpZone];