Method | Description | |
---|---|---|
__construct ( Mlp_Language_Api_Interface $language_api ) | Constructor. Sets up the properties. | |
to_array ( ) : string[] | Returns the translations. |
public __construct ( Mlp_Language_Api_Interface $language_api ) | ||
$language_api | Mlp_Language_Api_Interface | Language API object. |
public to_array ( ) : string[] | ||
return | string[] | Array with HTTP language codes as keys and URLs as values. |