Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс SectionManager
+ Граф наследования:SectionManager:

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

 create (Section $section, SectionContext $context)
 
 update (Section $section, SectionContext $context)
 
 delete (Section $section, SectionContext $context)
 
 subscribe (SectionConnection $link)
 
 resubscribe (Push $push)
 
 getSections (Connection $connection)
 
 getAvailableExternalType ()
 
- Открытые члены унаследованные от AbstractManager
 __construct (Connection $connection, int $userId)
 
- Открытые члены унаследованные от ServiceBase
 __construct (Connection $connection)
 
 getServiceName ()
 

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

- Защищенные члены унаследованные от AbstractManager
 prepareApiService (Connection $connection)
 
 initServiceName ()
 
 prepareServerData (Server $server)
 
- Защищенные данные унаследованные от AbstractManager
int $userId
 
ApiService $apiService = null
 
- Защищенные данные унаследованные от ServiceBase
Connection $connection
 
string $serviceName
 

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

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

Методы

◆ create()

create ( Section $section,
SectionContext $context )
Аргументы
Section$section
SectionContext | null$context
Возвращает
Result
Исключения
LoaderException

CDavArgumentNullException

Замещает SectionManagerInterface.

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

◆ delete()

delete ( Section $section,
SectionContext $context )
Аргументы
Section$section
SectionContext | null$context
Возвращает
Result
Исключения
LoaderException

CDavArgumentNullException

Замещает SectionManagerInterface.

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

◆ getAvailableExternalType()

getAvailableExternalType ( )

Замещает SectionManagerInterface.

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

◆ getSections()

getSections ( Connection $connection)
Аргументы
Connection$connection
Возвращает
array
Исключения

Bitrix\Main\ArgumentNullException

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

◆ resubscribe()

resubscribe ( Push $push)
Аргументы
Push$push
Возвращает
Result

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

◆ subscribe()

subscribe ( SectionConnection $link)
Аргументы
SectionConnection$link
Возвращает
Result
Аргументы
SectionConnection$link
Возвращает
Result
Исключения
ApiException
Exception

"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#subscriptions/$entity", "id": "6417dbea-4b53-42f1-9312-859ee5a4f614", "resource": "me/events", "applicationId": "ee900ae3-2cc9-4615-94b0-683a9bf45dbd", "changeType": "created,updated,deleted", "clientState": "special", "notificationUrl": "https://work24.savecard.ru/bitrix/tools/calendar/push.php", "notificationQueryOptions": null, "lifecycleNotificationUrl": null, "expirationDateTime": "2022-03-16T18:23:45.9356913Z", "creatorId": "e65624ee-8b9b-4041-b314-3c1a125b078a", "includeResourceData": null, "latestSupportedTlsVersion": "v1_2", "encryptionCertificate": null, "encryptionCertificateId": null, "notificationUrlAppId": null

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

◆ update()

update ( Section $section,
SectionContext $context )
Аргументы
Section$section
SectionContext | null$context
Возвращает
Result
Исключения
LoaderException

CDavArgumentNullException

Замещает SectionManagerInterface.

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