[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Language/ -> Multilanguage.php (summary)

Joomla! Content Management System

Copyright: (C) 2012 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 128 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Multilanguage:: (2 methods):
  isEnabled()
  getSiteHomePages()


Class: Multilanguage  - X-Ref

Utility class for multilang

isEnabled(CMSApplication $app = null, DatabaseInterface $db = null)   X-Ref
Method to determine if the language filter plugin is enabled.
This works for both site and administrator.

param: CMSApplication     $app  The application
param: DatabaseInterface  $db   The database
return: boolean  True if site is supporting multiple languages; false otherwise.

getSiteHomePages(DatabaseInterface $db = null)   X-Ref
Method to return a list of language home page menu items.

param: DatabaseInterface  $db  The database
return: array of menu objects.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer