Skip to content

Commit 67af288

Browse files
authored
Merge pull request #802 from ShevArtV/master
Обновил доку SendIt до версии 2.4.0
2 parents 5976024 + 532c2f2 commit 67af288

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/components/sendit/events.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,25 @@ switch ($modx->event->name){
136136

137137
:::
138138

139+
#### senditOnGetWebConfig - генерируется при формировании конфигурации для фронта
140+
141+
Доступные параметры:
142+
143+
* **$webConfig** - массив параметров конфигурации.
144+
* **$object** - экземпляр класса SendIt.
145+
146+
::: details Пример плагина
147+
148+
```php:line-numbers
149+
switch ($modx->event->name){
150+
case 'senditOnGetWebConfig':
151+
$object->webConfig['myparam'] = 'test;
152+
break;
153+
}
154+
```
155+
156+
:::
157+
139158
### События Identification
140159

141160
---

0 commit comments

Comments
 (0)