Go to the source code of this file.
◆ SimpleSAML_error_handler()
SimpleSAML_error_handler |
( |
|
$errno, |
|
|
|
$errstr, |
|
|
|
$errfile = null , |
|
|
|
$errline = 0 , |
|
|
|
$errcontext = null |
|
) |
| |
Definition at line 34 of file _include.php.
Referenced by SimpleSAML_exception_handler().
36 if (!class_exists(
'SimpleSAML\Logger')) {
45 if (
SimpleSAML\Logger::isErrorMasked($errno)) {
65 set_error_handler(
'SimpleSAML_error_handler');
70 throw new \SimpleSAML\Error\CriticalConfigurationError(
Attribute-related utility methods.
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.
◆ SimpleSAML_exception_handler()
SimpleSAML_exception_handler |
( |
|
$exception | ) |
|
Definition at line 10 of file _include.php.
References $code, SimpleSAML\Module\callHooks(), and SimpleSAML_error_handler().
16 } elseif ($exception instanceof
Exception) {
17 $e =
new SimpleSAML_Error_Error(
'UNHANDLEDEXCEPTION', $exception);
20 if (class_exists(
'Error') && $exception instanceof Error) {
21 $code = $exception->getCode();
23 $errstr = $exception->getMessage();
24 $errfile = $exception->getFile();
25 $errline = $exception->getLine();
SimpleSAML_error_handler($errno, $errstr, $errfile=null, $errline=0, $errcontext=null)
static callHooks($hook, &$data=null)
Call a hook in all enabled modules.
◆ try
Initial value:{
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.
Definition at line 67 of file _include.php.