PHP Класс SimpleSAML\Error\ErrorCodes

Показать файл Открыть проект

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

Метод Описание
defaultGetAllErrorCodeDescriptions ( ) : string Fetch all default translation strings for error code descriptions.
defaultGetAllErrorCodeTitles ( ) : array Fetch all default translation strings for error code titles.
getAllErrorCodeDescriptions ( ) : string Fetch all translation strings for error code descriptions.
getAllErrorCodeMessages ( ) : array Get a map of both errorcode titles and descriptions
getAllErrorCodeTitles ( ) : array Fetch all translation strings for error code titles.
getErrorCodeDescription ( string $errorCode ) : string Fetch a translation string for a description for a given error code.
getErrorCodeMessage ( string $errorCode ) : array Get both title and description for a specific error code
getErrorCodeTitle ( string $errorCode ) : string Fetch a translation string for a title for a given error code.

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

defaultGetAllErrorCodeDescriptions() закрытый публичный статический Метод

Fetch all default translation strings for error code descriptions.
final public static defaultGetAllErrorCodeDescriptions ( ) : string
Результат string A map from error code to error code description

defaultGetAllErrorCodeTitles() закрытый публичный статический Метод

Fetch all default translation strings for error code titles.
final public static defaultGetAllErrorCodeTitles ( ) : array
Результат array A map from error code to error code title

getAllErrorCodeDescriptions() публичный статический Метод

Extend this to add error codes.
public static getAllErrorCodeDescriptions ( ) : string
Результат string A map from error code to error code description

getAllErrorCodeMessages() публичный статический Метод

Convenience-method for template-callers
public static getAllErrorCodeMessages ( ) : array
Результат array An array containing both errorcode maps.

getAllErrorCodeTitles() публичный статический Метод

Extend this to add error codes.
public static getAllErrorCodeTitles ( ) : array
Результат array A map from error code to error code title

getErrorCodeDescription() публичный статический Метод

Fetch a translation string for a description for a given error code.
public static getErrorCodeDescription ( string $errorCode ) : string
$errorCode string The error code to look up
Результат string A string to translate

getErrorCodeMessage() публичный статический Метод

Convenience-method for template-callers
public static getErrorCodeMessage ( string $errorCode ) : array
$errorCode string The error code to look up
Результат array An array containing both errorcode strings.

getErrorCodeTitle() публичный статический Метод

Fetch a translation string for a title for a given error code.
public static getErrorCodeTitle ( string $errorCode ) : string
$errorCode string The error code to look up
Результат string A string to translate