Overview
  • Namespace
  • Class

Namespaces

  • Klarna
    • XMLRPC
      • Exception

Classes

  • Address
  • Calc
  • CheckoutServiceRequest
  • CheckoutServiceResponse
  • Config
  • Country
  • CurlHandle
  • CurlTransport
  • Currency
  • Encoding
  • Flags
  • Klarna
  • Language

Class Language

Language Constants class.

Namespace: Klarna\XMLRPC
Located at Klarna/XMLRPC/Language.php

Methods summary

public static integer|null
# fromCode( string $val )

Converts a language code, e.g. 'de' to the Language constant.

Converts a language code, e.g. 'de' to the Language constant.

Parameters

$val
language code

Returns

integer|null
public static lowercase
# getCode( integer $val )

Converts a Language constant to the respective language code.

Converts a Language constant to the respective language code.

Parameters

$val
Language constant

Returns

lowercase
string|null

Magic methods summary

Constants summary

integer DA

Language constant for Danish (DA).
ISO639_DA.

Language constant for Danish (DA).
ISO639_DA.

# 27
integer DE

Language constant for German (DE).
ISO639_DE.

Language constant for German (DE).
ISO639_DE.

# 28
integer EN

Language constant for English (EN).
ISO639_EN.

Language constant for English (EN).
ISO639_EN.

# 31
integer FI

Language constant for Finnish (FI).
ISO639_FI.

Language constant for Finnish (FI).
ISO639_FI.

# 37
integer NB

Language constant for Norwegian (NB).
ISO639_NB.

Language constant for Norwegian (NB).
ISO639_NB.

# 97
integer NL

Language constant for Dutch (NL).
ISO639_NL.

Language constant for Dutch (NL).
ISO639_NL.

# 101
integer SV

Language constant for Swedish (SV).
ISO639_SV.

Language constant for Swedish (SV).
ISO639_SV.

# 138
API documentation generated by ApiGen