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

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

 create (Core\Section\Section $section, SectionContext $context=null)
 
 update (Core\Section\Section $section, SectionContext $context)
 
 delete (Core\Section\Section $section, SectionContext $context)
 
 getAvailableExternalType ()
 
- Открытые члены унаследованные от Manager
 getError ()
 
 createRoom ()
 
 updateRoom ()
 
 deleteRoom ()
 
 cancelBooking (array $params=[])
 
 clearCache ()
 
 cleanAccessTable ()
 
 prepareResponseData ()
 
 eventHandler ($handler)
 
 addPullEvent ($event)
 
 deleteLocationFromEvents ()
 
 pullDeleteEvents ()
 
 deleteEmptyEvents ()
 
 saveAccess ()
 
- Открытые члены унаследованные от SectionManagerInterface
 create (Section $section, SectionContext $context)
 
 update (Section $section, SectionContext $context)
 
 delete (Section $section, SectionContext $context)
 

Открытые атрибуты

const CREATE_PATH = '/calendars/'
 
const CALENDAR_PATH = '/calendars/%CALENDAR_ID%'
 
const CALENDAR_LIST_PATH = '/users/me/calendarList/%CALENDAR_ID%'
 
- Открытые атрибуты унаследованные от Manager
const TYPE = 'location'
 

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

- Открытые статические члены унаследованные от Manager
static createInstanceWithRoom (Room $room)
 
static createInstance ()
 
static getRoomsList ()
 
static getRoomById (int $id, array $params=[])
 
static reserveRoom (array $params=[])
 
static releaseRoom (array $params=[])
 
static setEventIdForLocation (int $id)
 
static prepareRoomManagerData ()
 
static checkRoomName (?string $name)
 
- Защищенные члены унаследованные от Manager
 __construct ()
 

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

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

Методы

◆ create()

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

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

◆ delete()

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

Bitrix\Main\LoaderException

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

◆ getAvailableExternalType()

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

Замещает SectionManagerInterface.

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

◆ update()

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

Bitrix\Main\ArgumentException

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

Данные класса

◆ CALENDAR_LIST_PATH

const CALENDAR_LIST_PATH = '/users/me/calendarList/%CALENDAR_ID%'

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

◆ CALENDAR_PATH

const CALENDAR_PATH = '/calendars/%CALENDAR_ID%'

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

◆ CREATE_PATH

const CREATE_PATH = '/calendars/'

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