33 $callbackData = parse_url($handlerUrl);
35 if(is_array($callbackData)
36 && $callbackData[
'host'] <>
''
37 && mb_strpos($callbackData[
'host'],
'.') > 0
40 if($callbackData[
'scheme'] !==
'http' && $callbackData[
'scheme'] !==
'https')
42 throw new RestException(
'Unsupported handler protocol', static::ERROR_UNSUPPORTED_PROTOCOL);
47 throw new RestException(
'Wrong handler URL', static::ERROR_WRONG_HANDLER_URL);
60 return isset(static::$applicationList[$PLACEMENT]) && is_array(static::$applicationList[$PLACEMENT])
61 ? static::$applicationList[$PLACEMENT]
static storeApplicationList($PLACEMENT, $applicationList)
static checkCallback($handlerUrl, $appInfo=array(), $checkInstallUrl=true)
const ERROR_HANDLER_URL_MATCH
const ERROR_UNSUPPORTED_PROTOCOL
static getApplicationList($PLACEMENT)
const ERROR_WRONG_HANDLER_URL
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)