[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/administrator/components/com_languages/models/ -> installed.php (summary)

(no description)

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

Defines 1 class

LanguagesModelInstalled:: (12 methods):
  populateState()
  getStoreId()
  getClient()
  getFtp()
  getOption()
  getData()
  getLanguageList()
  getTotal()
  publish()
  getFolders()
  getPath()
  compareLanguages()


Class: LanguagesModelInstalled  - X-Ref

Languages Component Languages Model

populateState($ordering = null, $direction = null)   X-Ref
Method to auto-populate the model state.

Note. Calling getState in this method will result in recursion.

return: void

getStoreId($id = '')   X-Ref
Method to get a store id based on model configuration state.

This is necessary because the model is used by the component and
different modules that might need different sets of data or different
ordering requirements.

param: string        $id    A prefix for the store id.
return: string        A store id.

getClient()   X-Ref
Method to get the client object

return: object

getFtp()   X-Ref
Method to get the ftp credentials

return: object

getOption()   X-Ref
Method to get the option

return: object

getData()   X-Ref
Method to get Languages item data

return: array

getLanguageList()   X-Ref
Method to get installed languages data.

return: string    An SQL query

getTotal()   X-Ref
Method to get the total number of Languages items

return: integer

publish($cid)   X-Ref
Method to set the default language

return: boolean

getFolders()   X-Ref
Method to get the folders

return: array    Languages folders

getPath()   X-Ref
Method to get the path

return: string    The path to the languages folders

compareLanguages($lang1, $lang2)   X-Ref
Method to compare two languages in order to sort them

param: object    $lang1 the first language
param: object    $lang2 the second language
return: integer



Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1