InstallationModelLanguagesLanguage Installer model for the Joomla Core Installer.
Located in /installation/model/languages.php (line 22)
JModelBase | --InstallationModelLanguages
Admin
$adminId
= null (line 52)
object Client
$client
= null (line 28)
array
$data
= null (line 34)
integer
$langlist
= null (line 46)
string
$path
= null (line 40)
Inherited from JModelBase
JModelBase::$state
Constructor: Deletes the default installation config file and recreates it with the good config file.
Create an article in a specific language
Method create a category for a specific language
Add a Content Language
Add Menu Group
Add Menu Item.
Add a Module in Module menus
Enable the Language Switcher Module.
Add Module Menu
Compare two languages in order to sort them.
Download a language package from a URL and unpack it in the tmp folder.
Enable a module
Enable a Joomla plugin
Get the client object of Administrator or Frontend.
Get the model form.
Get Languages item data
Get Languages item data for the Administrator
Get Languages item data for the Frontend
Generate a list of language choices to install in the Joomla CMS
Get installed languages data.
Gets the manifest file of a selected language from a the language list in a update server.
Finds the url of the package to download.
Gets a unique language SEF string
This function checks other existing language with the same code, if they exist provides a unique SEF name. For instance: en-GB, en-US and en-AU will share the same SEF code by default: www.mywebsite.com/en/ To avoid this conflict, this function creates an specific SEF in case of existing conflict: For example: www.mywebsite.com/en-au/
Method that installs in Joomla! the selected languages in the Languages View of the installer.
Set the default language.
Inherited From JModelBase
JModelBase::__construct()
JModelBase::getState()
JModelBase::loadState()
JModelBase::setState()
Documentation generated on Tue, 19 Nov 2013 15:06:42 +0100 by phpDocumentor 1.4.3