Manage front and backend events
См. определение в файле Event.php строка 13
◆ __construct()
◆ send()
send |
( |
string | $eventName, |
|
|
?array | $params = null ) |
Send front end backend events with assigned params
- Аргументы
-
string | $eventName | - like onEventName |
array | null | $params | - optional params for event |
- Возвращает
- void
См. определение в файле Event.php строка 61
◆ sendError()
sendError |
( |
string | $eventName, |
|
|
string | $error ) |
Send events with error
- Аргументы
-
string | $eventName | - like onEventName |
string | $error | - error text/name |
- Возвращает
- void
См. определение в файле Event.php строка 77
◆ setLandingId()
setLandingId |
( |
?int | $landingId | ) |
|
If event contains landing - set ID
- Аргументы
-
- Возвращает
- $this
См. определение в файле Event.php строка 48
◆ setSiteId()
setSiteId |
( |
?int | $siteId | ) |
|
If event contains site - set ID
- Аргументы
-
- Возвращает
- $this
См. определение в файле Event.php строка 36
Объявления и описания членов классов находятся в файлах:
- C:/bitrix/modules/landing/lib/Copilot/Generation/Event.php
- C:/bitrix/modules/sale/lib/internals/analytics/events/event.php