direction. */ const DIRECTION_LTR = 'ltr'; /** * Language written right to left. Possible value of $language->direction. */ const DIRECTION_RTL = 'rtl'; /** * Gets the name of the language. * * @return string * The human-readable name of the language (in the language that was * used to construct this object). */ public function getName(); /** * Gets the ID (language code). * * @return string * The language code. */ public function getId(); /** * Gets the text direction (left-to-right or right-to-left). * * @return string * Either self::DIRECTION_LTR or self::DIRECTION_RTL. */ public function getDirection(); /** * Gets the weight of the language. * * @return int * The weight, used to order languages with larger positive weights sinking * items toward the bottom of lists. */ public function getWeight(); /** * Returns whether this language is the default language. * * @return bool * Whether the language is the default language. */ public function isDefault(); /** * Returns whether this language is locked. * * @return bool * Whether the language is locked or not. */ public function isLocked(); }