core/model/modx/processors/system/registry/register/send.php
Send a message to the registry.
- Package
- modx
- $register
- string
The register to read from.
- $register_class
- string
(optional) If set, will load a custom registry class.
- $topic
- string
The topic in the register to read from.
- $message
- string
The message to send.
- $message_key
- string
(optional) If set, will create the message with this as the key.
- $message_format
- string
(optional) The format of the message. Defaults to string. Also supports json for storing an array of data.
- $delay
- integer
(optional) The delay in seconds to send by. Defaults to 0.
- $ttl
- integer
(optional) The time to live of the message. Defaults to 0, or forever.
- $kill
- integer
(optional) Defaults to false.
- Subpackage
- processors.system.registry.register