| 1 | <?php |
||
| 5 | class Db implements \Elgg\Roles\DbInterface { |
||
| 6 | |||
| 7 | /** |
||
| 8 | * {@inheritdoc} |
||
| 9 | */ |
||
| 10 | public function getAllRoles() { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * {@inheritdoc} |
||
| 21 | */ |
||
| 22 | public function getRoleByName($role_name = '') { |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | public function getUserRole(\ElggUser $user) { |
||
| 51 | |||
| 52 | /** |
||
| 53 | * {@inheritdoc} |
||
| 54 | */ |
||
| 55 | public function setUserRole(\ElggUser $user, \ElggRole $role) { |
||
| 58 | |||
| 59 | /** |
||
| 60 | * {@inheritdoc} |
||
| 61 | */ |
||
| 62 | public function unsetUserRole(\ElggUser $user) { |
||
| 65 | |||
| 66 | } |
||
| 67 |