phpBB API Documentation
Class

phpbb\template\exception\user_object_not_available

class user_object_not_available extends runtime_exception

This exception is thrown when the user object was not set but it is required by the called method

Methods

__construct(string $message = '', array $parameters = array(), Exception $previous = null, integer $code)

Constructor

from runtime_exception
array get_parameters()

Return the arguments associated with the message if it's a language var.

from runtime_exception

Details

in runtime_exception at line 38
public __construct(string $message = '', array $parameters = array(), Exception $previous = null, integer $code)

Constructor

Parameters

string $message The Exception message to throw (must be a language variable).
array $parameters The parameters to use with the language var.
Exception $previous The previous runtimeexception used for the runtimeexception chaining.
integer $code The Exception code.

in runtime_exception at line 48
public array get_parameters()

Return the arguments associated with the message if it's a language var.

Return Value

array