hypejunction/user_sort
最新稳定版本:1.1.1
Composer 安装命令:
composer require hypejunction/user_sort
包简介
User list sorting for Elgg
README 文档
README
*** NO LONGER MAINTAINED *** The functionality of this plugin has been moved to hypeLists
Features
- Implements generic API and UI for sorting user lists
- By default, provides sorting by Name, Friend count, Registration date, and Last seen
- Extendable via hooks
Usage
List users
// display a sortable list of friends $options = array( 'relationship' => 'friend', 'relationship_guid' => $user->guid, ); echo elgg_view('lists/users', array( 'options' => $options, 'callback' => 'elgg_list_entities_from_relationship', ));
Custom sort fields
Use 'sort_fields','user' plugin hook to add new fields to the sort select input.
Use 'sort_options', 'user' to add custom queries to ege* options.
统计信息
- 总下载量: 87
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2016-02-15