|
MessageFormatter::getErrorCodemsgfmt_get_error_codeGet the error code from last operation BeschreibungObjektorientierter Stil
public
int
MessageFormatter::getErrorCode
( void
)
Prozeduraler Stil
int
msgfmt_get_error_code
( MessageFormatter
$fmt
)Get the error code from last operation. Parameter-Liste
RückgabewerteThe error code, one of UErrorCode values. Initial value is U_ZERO_ERROR. BeispieleBeispiel #1 msgfmt_get_error_code example
<?phpBeispiel #2 OO example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: ERROR: msgfmt_format: not enough parameters: U_ILLEGAL_ARGUMENT_ERROR (1) Siehe auch
|