[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Provides user rendering functionality such as printing private files tree and displaying a search utility
Copyright: | 2010 Dongsheng Cai <dongsheng@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 229 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_user_renderer:: (5 methods):
user_files_tree()
render_user_files_tree()
htmllize_tree()
user_search()
user_list()
user_files_tree:: (1 method):
__construct()
Class: core_user_renderer - X-Ref
Provides user rendering functionality such as printing private files tree and displaying a search utilityuser_files_tree() X-Ref |
Prints user files tree view return: string |
render_user_files_tree(user_files_tree $tree) X-Ref |
Render user files tree param: user_files_tree $tree return: string HTML |
htmllize_tree($tree, $dir) X-Ref |
Internal function - creates htmls structure suitable for YUI tree. param: user_files_tree $tree param: array $dir return: string HTML |
user_search($url, $firstinitial, $lastinitial, $usercount, $totalcount, $heading = null) X-Ref |
Prints user search utility that can search user by first initial of firstname and/or first initial of lastname Prints a header with a title and the number of users found within that subset param: string $url the url to return to, complete with any parameters needed for the return param: string $firstinitial the first initial of the firstname param: string $lastinitial the first initial of the lastname param: int $usercount the amount of users meeting the search criteria param: int $totalcount the amount of users of the set/subset being searched param: string $heading heading of the subset being searched, default is All Participants return: string html output |
user_list($userlist, $exclusivemode) X-Ref |
Displays the list of tagged users param: array $userlist param: bool $exclusivemode if set to true it means that no other entities tagged with this tag return: string |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |