otago/moodlecount
Composer 安装命令:
composer require otago/moodlecount
包简介
A web service that returns the number of read/unread messages for a user
README 文档
README
Returns the count of unread/read messages in moodle
To test: 1- install the plugin in moodle/local/moodlecount/ 2- Read, setup and run moodle/local/moodlecount/client/client.php
Installation
You can install via composer or copy and paste the files. The module lives in the /local/ folder.
Install via composer
First navigate to your moodle directory:
cd /var/www/moodle-folder.
Add the module to your composer list:
composer require otago/moodlecount:dev-master --no-update
Update composer:
composer update --no-dev
Note if you're installing on a dev environment you'll omit the --no-dev
Usage
After installation, you'll need to update the moodle database with your module. Simply login as an admin and moodle should prompt you.
Next you'll need to add the functions to the list of functions to your web service. Navigate to Site administration > Plugins > Web services > External services. Select your web service you want (if you have not created a role, user and service for web services, google it) to add your functions to, and click 'Add functions'.
Then select local_op_wstemplate_count_read_messages or local_op_wstemplate_count_unread_messages from the list.
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2014-11-10