16 public static function getUrl($type, $servicePath, $linkUrl, $prefix, $name, $guid)
18 \CJSCore::Init(array(
'stssync'));
22 if(Loader::includeModule(
'ldap'))
24 $port = \CLdapUtil::getTargetPort();
27 return 'BX.StsSync.sync(\''.$type.
'\', \
''.static::SERVICE_PATH.$servicePath.
'\', \
''.\CUtil::jsEscape($linkUrl).
'\', \
''.\CUtil::jsEscape($prefix).
'\', \
''.\CUtil::jsEscape($name).
'\', \
''.$guid.
'\',
'.intval($port).')
';