(no description)
File Size: | 182 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
factor:: (7 methods):
get_all_user_factors()
has_input()
get_state()
set_state()
possible_states()
get_summary_condition()
get_roles()
get_all_user_factors(stdClass $user) X-Ref |
Role implementation. This factor is a singleton, return single instance. param: stdClass $user the user to check against. return: array |
has_input() X-Ref |
Role implementation. Factor has no input {@inheritDoc} |
get_state() X-Ref |
Role implementation. Checks whether the user has selected roles in any context. {@inheritDoc} |
set_state(string $state) X-Ref |
Role implementation. Cannot set state, return true. param: string $state the state constant to set return: bool |
possible_states(stdClass $user) X-Ref |
Role implementation. User can not influence. Result is whatever current state is. param: stdClass $user return: array |
get_summary_condition() X-Ref |
Role implementation Formats the role list nicely. {@inheritDoc} |
get_roles(array $selectedroles) X-Ref |
Get roles information by given ids. param: array $selectedroles List of role ids. return: array |