Elgg
Version 6.1
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
Exceptions
Http
Gatekeeper
GroupToolGatekeeperException.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Exceptions\Http\Gatekeeper
;
4
10
class
GroupToolGatekeeperException
extends
GroupGatekeeperException
{
11
15
public
function
__construct
(
string
$message
=
''
,
int
$code
= 0, \Throwable $previous = null) {
16
if
(!
$message
) {
17
$message
=
elgg_echo
(
'groups:tool_gatekeeper'
);
18
}
19
20
parent::__construct(
$message
,
$code
, $previous);
21
}
22
}
Elgg\Exceptions\Http\Gatekeeper\GroupToolGatekeeperException
Thrown when the requested group tool isn't enabled for a group.
Definition:
GroupToolGatekeeperException.php:10
$message
$message
Definition:
set_maintenance_mode.php:7
elgg_echo
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition:
languages.php:17
$code
$code
Definition:
changepassword.php:12
Elgg\Exceptions\Http\Gatekeeper
Definition:
AdminGatekeeperException.php:3
Elgg\Exceptions\Http\Gatekeeper\GroupGatekeeperException
Thrown when one of the gatekeepers prevents access.
Definition:
GroupGatekeeperException.php:12
Elgg\Exceptions\Http\Gatekeeper\GroupToolGatekeeperException\__construct
__construct(string $message= '', int $code=0,\Throwable $previous=null)
{}
Definition:
GroupToolGatekeeperException.php:15
Generated on Wed Dec 4 2024 00:00:20 for Elgg by
1.8.11