Back to Joomla project (class list)

Class Multilanguage - list of methods

Utility class for multilang
Package: Joomla\CMS\Language
Copyright: (C) 2012 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Language/Multilanguage.php
Project: Joomla

Method Summary

public static bool
(\Joomla\CMS\Application\CMSApplication $app = null, \Joomla\Database\DatabaseInterface $db = null)

Method to determine if the language filter plugin is enabled.
Parameters
  • \Joomla\CMS\Application\CMSApplication $app The application
  • \Joomla\Database\DatabaseInterface $db The database
Returns
  • bool True if site is supporting multiple languages; false otherwise.
Since
  • 2.5.4
Show source code of this method: isEnabled Source Code

public static array
(\Joomla\Database\DatabaseInterface $db = null)

Method to return a list of language home page menu items.
Parameters
  • \Joomla\Database\DatabaseInterface $db The database
Returns
  • array of menu objects.
Since
  • 3.5
Show source code of this method: getSiteHomePages Source Code

Properties Summary

public static bool
$enabled
Flag indicating multilanguage functionality is enabled.
Since
  • 4.0.0

Tags Summary

Since
2.5.4