arckinteractive/notifications_sms
Composer 安装命令:
composer require arckinteractive/notifications_sms
包简介
SMS Notification API for Elgg
README 文档
README
Features
- API to integrate Elgg notifications with an SMS provider
Notes
Sending
The plugin does not send actual SMS messages. The provider plugin must register
for 'send', 'sms' hook and use provider API to dispatch messages. The hook will
receive to phone number and text as parameters.
To send an SMS, use notifications_sms_send().
Instant notifications
To provide a custom SMS text for instant notifications, pass sms with parameters:
notify_user($user->guid, elgg_get_site_entity()->guid, 'Really long notification subject', 'Really long notification body', array( 'sms' => 'Send this sms', ), 'email');
Subscriptions notifications
To provide a custom SMS text for subscription notifications that differs from the summary, set sms property on the \Elgg\Notifications\Notification instance in the prepare hook.
统计信息
- 总下载量: 59
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2016-07-07