1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс SyncAjax
Граф наследования:SyncAjax:
Controller Errorable Controllerable

Открытые члены

 configureActions ()
 getSyncInfoAction ()
 removeConnectionAction ($connectionId, $removeCalendars)
 addConnectionAction ()
 createGoogleConnectionAction ()
 createOffice365ConnectionAction ()
 createIcloudConnectionAction (?string $appleId, ?string $appPassword)
 syncIcloudConnectionAction ($connectionId)
 updateConnectionAction ()
 deactivateConnectionAction (int $connectionId, $removeCalendars='N')
 getAllSectionsForIcloudAction (int $connectionId)
 getAllSectionsForOffice365Action (int $connectionId)
 getAllSectionsForGoogleAction (int $connectionId)
 clearSuccessfulConnectionNotifierAction (string $accountType)
 disableIphoneOrMacConnectionAction ()
 disableShowGoogleApplicationRefusedAction ()
 getOutlookLinkAction (int $id)
 getOauthConnectionLinkAction (string $serviceName)
 handleMobileAuthAction (string $serviceName, string $hitHash)
Открытые члены унаследованные от Controller
 __construct (Request $request=null)
 forward ($controller, string $actionName, array $parameters=null)
 getConfigurationOfActions ()
 getModuleId ()
 isLocatedUnderPsr4 ()
 getActionUri (string $actionName, array $params=[], bool $absolute=false)
 getUnsignedParameters ()
 getCurrentUser ()
 setCurrentUser (CurrentUser $currentUser)
 convertKeysToCamelCase ($data)
 listNameActions ()
 getAutoWiredParameters ()
 getPrimaryAutoWiredParameter ()
 getDefaultAutoWiredParameters ()
 getRequest ()
 getScope ()
 setScope ($scope)
 getSourceParametersList ()
 setSourceParametersList ($sourceParametersList)
 run ($actionName, array $sourceParametersList)
 finalizeResponse (Response $response)
 generateActionMethodName ($action)
 redirectTo ($url)
 getErrors ()
 hasErrors ()
 getErrorByCode ($code)

Дополнительные унаследованные члены

Открытые статические члены унаследованные от Controller
static className ()
static getFullEventName ($eventName)
Поля данных унаследованные от Controller
const SCOPE_REST = 'rest'
const SCOPE_AJAX = 'ajax'
const SCOPE_CLI = 'cli'
const EVENT_ON_BEFORE_ACTION = 'onBeforeAction'
const EVENT_ON_AFTER_ACTION = 'onAfterAction'
const ERROR_REQUIRED_PARAMETER = 'MAIN_CONTROLLER_22001'
const ERROR_UNKNOWN_ACTION = 'MAIN_CONTROLLER_22002'
const EXCEPTION_UNKNOWN_ACTION = 22002
Поля данных унаследованные от Controllerable
const METHOD_ACTION_SUFFIX = 'Action'
Защищенные члены унаследованные от Controller
 init ()
 getFilePath ()
 processUnsignedParameters ()
 getSaltToUnsign ()
 getActionResponse (Action $action)
 writeToLogException (\Throwable $e)
 collectDebugInfo ()
 logDebugInfo ()
 prepareParams ()
 processBeforeAction (Action $action)
 triggerOnBeforeAction (Action $action)
 processAfterAction (Action $action, $result)
 triggerOnAfterAction (Action $action, $result)
 create ($actionName)
 buildActionInstance ($actionName, array $config)
 existsAction ($actionName)
 getDefaultPreFilters ()
 getDefaultPostFilters ()
 buildFilters (array $config=null)
 appendFilters (array $filters, array $filtersToAppend)
 removeFilters (array $filters, array $filtersToRemove)
 detachFilters (Action $action)
 detachPreFilters (Action $action)
 detachPostFilters (Action $action)
 getActionConfig ($actionName)
 setActionConfig ($actionName, array $config=null)
 runProcessingThrowable (\Throwable $throwable)
 runProcessingException (\Exception $e)
 runProcessingError (\Error $error)
 runProcessingBinderThrowable (BinderArgumentException $e)
 runProcessingValidationException (ValidationException $e)
 buildErrorFromException (\Exception $e)
 buildErrorFromPhpError (\Error $error)
 runProcessingIfUserNotAuthorized ()
 runProcessingIfInvalidCsrfToken ()
 addError (Error $error)
 addErrors (array $errors)
 renderComponent (string $name, string $template='', array $params=[], bool $withSiteTemplate=true)
 renderView (string $viewPath, array $params=[], bool $withSiteTemplate=true)
 renderExtension (string $extension, array $params=[], bool $withSiteTemplate=true)
Защищенные данные унаследованные от Controller
 $errorCollection
 $request
Configurator $configurator

Подробное описание

См. определение в файле syncajax.php строка 29

Методы

◆ addConnectionAction()

addConnectionAction ( )
Исключения

Bitrix\Main\LoaderException

См. определение в файле syncajax.php строка 83

◆ clearSuccessfulConnectionNotifierAction()

clearSuccessfulConnectionNotifierAction ( string $accountType)

См. определение в файле syncajax.php строка 320

◆ configureActions()

configureActions ( )
Возвращает
array

Переопределяет метод предка Controller.

См. определение в файле syncajax.php строка 31

◆ createGoogleConnectionAction()

createGoogleConnectionAction ( )
Возвращает
array
Исключения
LoaderException

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectNotFoundException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

Исключения

Psr\Container\NotFoundExceptionInterface

См. определение в файле syncajax.php строка 127

◆ createIcloudConnectionAction()

createIcloudConnectionAction ( ?string $appleId,
?string $appPassword )
Аргументы
string | null$appleId
string | null$appPassword
Возвращает
array|string[]
Исключения
LoaderException

Bitrix\Main\Access\Exception\UnknownActionException

Исключения

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

См. определение в файле syncajax.php строка 189

◆ createOffice365ConnectionAction()

createOffice365ConnectionAction ( )
Возвращает
string[]
Исключения
LoaderException

Bitrix\Main\ArgumentException

Исключения

Bitrix\Main\ObjectPropertyException

Исключения

Bitrix\Main\SystemException

См. определение в файле syncajax.php строка 157

◆ deactivateConnectionAction()

deactivateConnectionAction ( int $connectionId,
$removeCalendars = 'N' )
Аргументы
int$connectionId
string$removeCalendars
Возвращает
bool

См. определение в файле syncajax.php строка 288

◆ disableIphoneOrMacConnectionAction()

disableIphoneOrMacConnectionAction ( )

См. определение в файле syncajax.php строка 328

◆ disableShowGoogleApplicationRefusedAction()

disableShowGoogleApplicationRefusedAction ( )

См. определение в файле syncajax.php строка 335

◆ getAllSectionsForGoogleAction()

getAllSectionsForGoogleAction ( int $connectionId)

См. определение в файле syncajax.php строка 315

◆ getAllSectionsForIcloudAction()

getAllSectionsForIcloudAction ( int $connectionId)

См. определение в файле syncajax.php строка 305

◆ getAllSectionsForOffice365Action()

getAllSectionsForOffice365Action ( int $connectionId)

См. определение в файле syncajax.php строка 310

◆ getOauthConnectionLinkAction()

getOauthConnectionLinkAction ( string $serviceName)

См. определение в файле syncajax.php строка 364

◆ getOutlookLinkAction()

getOutlookLinkAction ( int $id)

См. определение в файле syncajax.php строка 340

◆ getSyncInfoAction()

getSyncInfoAction ( )

См. определение в файле syncajax.php строка 48

◆ handleMobileAuthAction()

handleMobileAuthAction ( string $serviceName,
string $hitHash )

См. определение в файле syncajax.php строка 388

◆ removeConnectionAction()

removeConnectionAction ( $connectionId,
$removeCalendars )

См. определение в файле syncajax.php строка 58

◆ syncIcloudConnectionAction()

syncIcloudConnectionAction ( $connectionId)

См. определение в файле syncajax.php строка 241

◆ updateConnectionAction()

updateConnectionAction ( )

См. определение в файле syncajax.php строка 263


Объявления и описания членов класса находятся в файле: