Elgg
Version 6.2
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
Exceptions
Http
EntityPermissionsException.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Exceptions\Http
;
4
10
class
EntityPermissionsException
extends
ForbiddenException
{
11
15
public
function
__construct
(
string
$message
=
''
,
int
$code
= 0, ?\Throwable $previous = null) {
16
if
(!
$message
) {
17
$message
=
elgg_echo
(
'EntityPermissionsException'
);
18
}
19
20
parent::__construct(
$message
,
$code
, $previous);
21
}
22
}
Elgg\Exceptions\Http\ForbiddenException
Thrown when the client doesn't have access to the requested resource.
Definition:
ForbiddenException.php:12
Elgg\Exceptions\Http\EntityPermissionsException\__construct
__construct(string $message= '', int $code=0,?\Throwable $previous=null)
{}
Definition:
EntityPermissionsException.php:15
$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\EntityPermissionsException
Thrown when entity can not be edited or container permissions do not allow it to be written...
Definition:
EntityPermissionsException.php:10
Elgg\Exceptions\Http
Definition:
BadRequestException.php:3
Generated on Fri Apr 25 2025 00:00:14 for Elgg by
1.8.11