Elgg
Version 3.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
Http
Exception
GroupToolGatekeeperException.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Http\Exception
;
4
5
use
Throwable
;
6
use
Elgg\GroupGatekeeperException
;
7
11
class
GroupToolGatekeeperException
extends
GroupGatekeeperException
{
12
16
public
function
__construct
(
string
$message
=
""
,
int
$code
= 0,
Throwable
$previous = null) {
17
if
(!
$message
) {
18
$message
=
elgg_echo
(
'groups:tool_gatekeeper'
);
19
}
20
21
parent::__construct(
$message
,
$code
, $previous);
22
}
23
}
GroupGatekeeperException
$message
$message
Definition:
set_maintenance_mode.php:7
elgg_echo
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition:
languages.php:21
$code
$code
Definition:
changepassword.php:9
Elgg\Http\Exception
Definition:
AdminGatekeeperException.php:3
Elgg\GroupGatekeeperException
Thrown when one of the gatekeepers prevents access.
Definition:
GroupGatekeeperException.php:10
Elgg\Http\Exception\GroupToolGatekeeperException
Thrown when the requested group tool isn't enabled for a group.
Definition:
GroupToolGatekeeperException.php:11
Elgg\Http\Exception\GroupToolGatekeeperException\__construct
__construct(string $message="", int $code=0, Throwable $previous=null)
{}
Definition:
GroupToolGatekeeperException.php:16
Throwable
Generated on Tue Mar 2 2021 00:00:20 for Elgg by
1.8.11