[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/user/ -> renderer.php (summary)

Provides user rendering functionality such as printing private files tree and displaying a search utility

Copyright: 2010 Dongsheng Cai <[email protected]>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 195 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

core_user_renderer:: (4 methods):
  user_files_tree()
  render_user_files_tree()
  htmllize_tree()
  user_search()

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 utility

user_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

Class: user_files_tree  - X-Ref

User files tree

__construct()   X-Ref
Create user files tree object




Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1