| Total Complexity | 5 |
| Total Lines | 62 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class auth |
||
| 14 | { |
||
| 15 | protected $auth; |
||
| 16 | protected $auth_admin; |
||
| 17 | protected $phpbb_root_path; |
||
| 18 | protected $php_ext; |
||
| 19 | protected $config; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * currency constructor. |
||
| 23 | * |
||
| 24 | * @param \phpbb\auth\auth $auth Auth Auth object |
||
| 25 | * @param \phpbb\config\config $config Config object |
||
| 26 | * @param string $phpbb_root_path phpBB root path |
||
| 27 | * @param string $php_ext phpEx |
||
| 28 | * |
||
| 29 | * @access public |
||
| 30 | */ |
||
| 31 | |||
| 32 | public function __construct( |
||
| 49 | } |
||
| 50 | |||
| 51 | public function set_guest_acl() |
||
| 57 | } |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @return bool |
||
| 61 | * @access public |
||
| 62 | */ |
||
| 63 | public function can_use_ppde() |
||
| 64 | { |
||
| 65 | return $this->auth->acl_get('u_ppde_use'); |
||
| 66 | } |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @return bool |
||
| 70 | * @access public |
||
| 71 | */ |
||
| 72 | public function can_view_ppde_donorlist() |
||
| 75 | } |
||
| 76 | } |
||
| 77 |