Go to the source code of this file.
Namespaces | |
| namespace | internal_messaging |
Functions | |
| makeArgLink ($paramList, $without=array()) | |
| getBarMessageBox ($currentUserId, $currentSection) | |
| claro_is_user_platform_admin ($userId) | |
| claro_is_user_course_manager ($userId, $courseCode) | |
| getPager ($link, $currentPage, $totalPage) | |
| claro_is_user_course_manager | ( | $ | userId, | |
| $ | courseCode | |||
| ) |
return true if the user in parameter is manager of the course in 2nd parameters
| int | $userId user id | |
| string | $courseCode syscode du cours |
Definition at line 101 of file tools.lib.php.
| claro_is_user_platform_admin | ( | $ | userId | ) |
return true if the user in parameter is admin, false is the user in parameter is not admin
| int | $userId |
Definition at line 84 of file tools.lib.php.
| getBarMessageBox | ( | $ | currentUserId, | |
| $ | currentSection | |||
| ) |
return the HTML source for the menu bar (to navigate between message box)
| int | $currentUserId user identification (the admin read message box of an other user) |
Definition at line 50 of file tools.lib.php.
| getPager | ( | $ | link, | |
| $ | currentPage, | |||
| $ | totalPage | |||
| ) |
return the pager
| string | $link link of the page to display(without page=x) | |
| int | $currentPage current page | |
| int | $totalPage number of page |
Definition at line 123 of file tools.lib.php.
| makeArgLink | ( | $ | paramList, | |
| $ | without = array() | |||
| ) |
create a argument string for a link
| array | of string $paramList array of all argument | |
| array | of string $without array of argument name to don't add to the link |
Definition at line 25 of file tools.lib.php.
1.6.3