PHP Класс eZ\Publish\Core\Base\Exceptions\UnauthorizedException

Use: throw new UnauthorizedException( 'content', 'read', array( 'contentId' => 42 ) );
Наследование: extends eZ\Publish\API\Repository\Exceptions\UnauthorizedException, implements eZ\Publish\Core\Base\Exceptions\Httpable, implements eZ\Publish\Core\Base\Translatable, use trait eZ\Publish\Core\Base\TranslatableBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( string $module, string $function, array $properties = null, Exception $previous = null ) Generates: User does not have access to '{$function}' '{$module}'[ with: %property.key% '%property.value%'].

Описание методов

__construct() публичный Метод

Example: User does not have access to 'read' 'content' with: id '44', type 'article'
public __construct ( string $module, string $function, array $properties = null, Exception $previous = null )
$module string The module name should be in sync with the name of the domain object in question
$function string
$properties array Key value pair with non sensitive data on what kind of data user does not have access to
$previous Exception