modX.invokeEvent
Последнее обновление not available | История страницы | Улучшить эту страницу | Сообщить о проблеме
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn moremodX::invokeEvent¶
Вызывает указанное событие с необязательным массивом параметров.
Синтаксис¶
API Doc: modX::invokeEvent()
void invokeEvent (string $eventName, [array $params = array ()])
Пример¶
Вызвать событие OnChunkRender
:
$modx->invokeEvent('OnChunkRender',array(
'id' => $chunk->get('id'),
));
Смотрите также¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn more