Class FinderModelSuggestions. Joomla 3 jmodellist


FinderModelSuggestions *Документация по Joomla 3.0.2

Вернуться к записям по теме Joomla.

Joomla.Site\FinderModelSuggestions

components/com_finder/models/suggestions.php at line 19 JObject└─JModelLegacy└─JModelList└─FinderModelSuggestions

public class FinderModelSuggestionsextends JModelList

Subpackage: com_finder Since: 2.5 Field Summary
protected string

$context

Context string for the model type.

Fields inherited from Joomla.Platform\JObject
_errors
Method Summary
array

getItems()

Method to get an array of data items.

protected JDatabaseQuery

getListQuery()

Method to build a database query to load the list data.

protected string

getStoreId(string id)

Method to get a store id based on model the configuration state.

protected void

populateState(string ordering, string direction)

Method to auto-populate the model state.

Methods inherited from Joomla.Legacy\JModelLegacy
__construct, _createFileName, _createTable, _getList, _getListCount, addIncludePath, addTablePath, cleanCache, getDbo, getInstance, getName, getState, getTable, populateState, setDbo, setState

Field Detail

components/com_finder/models/suggestions.php at line 27

context

protected string $context = 'com_finder.suggestions'

Context string for the model type.

Since: 2.5

Method Detail

components/com_finder/models/suggestions.php at line 36

getItems

public array getItems()

Method to get an array of data items.

Returns: An array of data items. Since: 2.5 components/com_finder/models/suggestions.php at line 57

getListQuery

protected JDatabaseQuery getListQuery()

Method to build a database query to load the list data.

Returns: A database query Since: 2.5 components/com_finder/models/suggestions.php at line 87

getStoreId

protected string getStoreId(string id)

Method to get a store id based on model the 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.

Parameters: id - An identifier string to generate the store id. [optional] Returns: A store id. Since: 2.5 components/com_finder/models/suggestions.php at line 110

populateState

protected void populateState(string ordering, string direction)

Method to auto-populate the model state. Calling getState in this method will result in recursion.

Parameters: ordering - An optional ordering field. direction - An optional direction (asc|desc). Since: 2.5 Note: Calling getState in this method will result in recursion. Вернуться к записям по теме Joomla.

ya.samposebe.ru

UsersModelNotes *Документация по Joomla 3.0.2

Вернуться к записям по теме Joomla.

Joomla.Administrator\UsersModelNotes

administrator/components/com_users/models/notes.php at line 19 JObject└─JModelLegacy└─JModelList└─UsersModelNotes

public class UsersModelNotesextends JModelList

Subpackage: com_users Since: 2.5 Fields inherited from Joomla.Platform\JObject
_errors
Constructor Summary
void

__construct(array config, mixed properties)

Class constructor.

Method Summary
protected JDatabaseQuery

getListQuery()

Build an SQL query to load the list data.

protected string

getStoreId(string id)

Method to get a store id based on model configuration state.

JUser

getUser()

Gets a user object if the user filter is set.

protected void

populateState(string ordering, string direction)

Method to auto-populate the model state.

Methods inherited from Joomla.Legacy\JModelLegacy
__construct, _createFileName, _createTable, _getList, _getListCount, addIncludePath, addTablePath, cleanCache, getDbo, getInstance, getName, getState, getTable, populateState, setDbo, setState

Constructor Detail

administrator/components/com_users/models/notes.php at line 28

__construct

public void __construct(array config, mixed properties)

Class constructor.

Parameters: config - An optional associative array of configuration settings. Since: 2.5 Throws: Exception See Also: JModelLegacy

Method Detail

administrator/components/com_users/models/notes.php at line 62

getListQuery

protected JDatabaseQuery getListQuery()

Build an SQL query to load the list data.

Returns: A JDatabaseQuery object to retrieve the data set. Since: 2.5 administrator/components/com_users/models/notes.php at line 159

getStoreId

protected string getStoreId(string id)

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.

Parameters: id - A prefix for the store id. Returns: A store id. Since: 2.5 administrator/components/com_users/models/notes.php at line 176

getUser

public JUser getUser()

Gets a user object if the user filter is set.

Returns: The JUser object Since: 2.5 administrator/components/com_users/models/notes.php at line 199

populateState

protected void populateState(string ordering, string direction)

Method to auto-populate the model state.

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

Since: 1.6 Note: Calling getState in this method will result in recursion. Parameters: ordering - An optional ordering field. direction - An optional direction (asc|desc). Вернуться к записям по теме Joomla.

ya.samposebe.ru

LanguagesModelInstalled *Документация по Joomla 3.0.2

Вернуться к записям по теме Joomla.

Joomla.Administrator\LanguagesModelInstalled

administrator/components/com_languages/models/installed.php at line 19 JObject└─JModelLegacy└─JModelList└─LanguagesModelInstalled

public class LanguagesModelInstalledextends JModelList

Subpackage: com_languages Since: 1.6 Field Summary
protected object client object

$client

protected array languages description

$data

protected boolean|JExeption True, if FTP settings should be shown, or an exeption

$ftp

protected int total number pf languages installed

$langlist

protected string option name

$option

protected string language path

$path

protected int total number pf languages

$total

protected object user object

$user

Fields inherited from Joomla.Platform\JObject
_errors
Method Summary
protected void

populateState(string ordering, string direction)

Method to auto-populate the model state.

protected string

getStoreId(string id)

Method to get a store id based on model configuration state.

object

getClient()

Method to get the client object

object

getFtp()

Method to get the ftp credentials

object

getOption()

Method to get the option

array

getData()

Method to get Languages item data

protected string

getLanguageList()

Method to get installed languages data.

integer

getTotal()

Method to get the total number of Languages items

boolean

publish(mixed cid)

Method to set the default language

protected array

getFolders()

Method to get the folders

protected string

getPath()

Method to get the path

protected integer

compareLanguages(object lang1, object lang2)

Method to compare two languages in order to sort them

Methods inherited from Joomla.Legacy\JModelLegacy
__construct, _createFileName, _createTable, _getList, _getListCount, addIncludePath, addTablePath, cleanCache, getDbo, getInstance, getName, getState, getTable, populateState, setDbo, setState

Field Detail

administrator/components/com_languages/models/installed.php at line 24

client

protected object client object $client = null administrator/components/com_languages/models/installed.php at line 44

data

protected array languages description $data = null administrator/components/com_languages/models/installed.php at line 34

ftp

protected boolean|JExeption True, if FTP settings should be shown, or an exeption $ftp = null administrator/components/com_languages/models/installed.php at line 54

langlist

protected int total number pf languages installed $langlist = null administrator/components/com_languages/models/installed.php at line 39

option

protected string option name $option = null administrator/components/com_languages/models/installed.php at line 59

path

protected string language path $path = null administrator/components/com_languages/models/installed.php at line 49

total

protected int total number pf languages $total = null administrator/components/com_languages/models/installed.php at line 29

user

protected object user object $user = null

Method Detail

administrator/components/com_languages/models/installed.php at line 69

populateState

protected void populateState(string ordering, string direction)

Method to auto-populate the model state.

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

Since: 1.6 Note: Calling getState in this method will result in recursion. Parameters: ordering - An optional ordering field. direction - An optional direction (asc|desc). administrator/components/com_languages/models/installed.php at line 97

getStoreId

protected string getStoreId(string id)

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.

Parameters: id - A prefix for the store id. Returns: A store id. Since: 1.6 administrator/components/com_languages/models/installed.php at line 111

getClient

public object getClient()

Method to get the client object

Since: 1.6 administrator/components/com_languages/models/installed.php at line 126

getFtp

public object getFtp()

Method to get the ftp credentials

Since: 1.6 administrator/components/com_languages/models/installed.php at line 141

getOption

public object getOption()

Method to get the option

Since: 1.6 administrator/components/com_languages/models/installed.php at line 154

getData

public array getData()

Method to get Languages item data

Since: 1.6 administrator/components/com_languages/models/installed.php at line 232

getLanguageList

protected string getLanguageList()

Method to get installed languages data.

Returns: An SQL query Since: 1.6 administrator/components/com_languages/models/installed.php at line 265

getTotal

public integer getTotal()

Method to get the total number of Languages items

Since: 1.6 administrator/components/com_languages/models/installed.php at line 281

publish

public boolean publish(mixed cid)

Method to set the default language

Since: 1.6 administrator/components/com_languages/models/installed.php at line 329

getFolders

protected array getFolders()

Method to get the folders

Returns: Languages folders Since: 1.6 administrator/components/com_languages/models/installed.php at line 346

getPath

protected string getPath()

Method to get the path

Returns: The path to the languages folders Since: 1.6 administrator/components/com_languages/models/installed.php at line 365

compareLanguages

protected integer compareLanguages(object lang1, object lang2)

Method to compare two languages in order to sort them

Parameters: lang1 - the first language lang2 - the second language Since: 1.6 Вернуться к записям по теме Joomla.

ya.samposebe.ru

InstallerModel *Документация по Joomla 3.0.2

Вернуться к записям по теме Joomla.

Joomla.Administrator\InstallerModel

administrator/components/com_installer/models/extension.php at line 20 JObject└─JModelLegacy└─JModelList└─InstallerModel All Known Subclasses: InstallerModelDatabase InstallerModelDiscover InstallerModelManage

public abstract class InstallerModelextends JModelList

Subpackage: com_installer Since: 1.5 Fields inherited from Joomla.Platform\JObject
_errors
Constructor Summary
void

__construct(array config, mixed properties)

Constructor.

Method Summary
protected array

_getList(string query, int limitstart, int limit)

Returns an object list

private array

translate(array &$items, mixed items)

Translate a list of objects

Methods inherited from Joomla.Legacy\JModelLegacy
__construct, _createFileName, _createTable, _getList, _getListCount, addIncludePath, addTablePath, cleanCache, getDbo, getInstance, getName, getState, getTable, populateState, setDbo, setState

Constructor Detail

administrator/components/com_installer/models/extension.php at line 30

__construct

public void __construct(array config, mixed properties)

Constructor.

Parameters: config - An optional associative array of configuration settings. See Also: JController Since: 1.6 Throws: Exception

Method Detail

administrator/components/com_installer/models/extension.php at line 56

_getList

protected array _getList(string query, int limitstart, int limit)

Returns an object list

Parameters: query - The query limitstart - Offset limit - The number of records Since: 12.2 Throws: RuntimeException administrator/components/com_installer/models/extension.php at line 107

translate

private array translate(array &$items, mixed items)

Translate a list of objects

Parameters: &$items - The array of objects Returns: The array of translated objects Вернуться к записям по теме Joomla.

ya.samposebe.ru

UsersModelGroups *Документация по Joomla 3.0.2

Вернуться к записям по теме Joomla.

Joomla.Administrator\UsersModelGroups

administrator/components/com_users/models/groups.php at line 19 JObject└─JModelLegacy└─JModelList└─UsersModelGroups

public class UsersModelGroupsextends JModelList

Subpackage: com_users Since: 1.6 Fields inherited from Joomla.Platform\JObject
_errors
Constructor Summary
void

__construct(array config, array An, mixed properties)

Constructor.

Method Summary
protected void

populateState(string ordering, string direction)

Method to auto-populate the model state.

protected string

getStoreId(string id)

Method to get a store id based on model configuration state.

mixed

getItems()

Gets the list of groups and adds expensive joins to the result set.

protected JDatabaseQuery

getListQuery()

Build an SQL query to load the list data.

Methods inherited from Joomla.Legacy\JModelLegacy
__construct, _createFileName, _createTable, _getList, _getListCount, addIncludePath, addTablePath, cleanCache, getDbo, getInstance, getName, getState, getTable, populateState, setDbo, setState

Constructor Detail

administrator/components/com_users/models/groups.php at line 28

__construct

public void __construct(array config, array An, mixed properties)

Constructor.

Parameters: An - optional associative array of configuration settings. See Also: JController Since: 1.6 Throws: Exception

Method Detail

administrator/components/com_users/models/groups.php at line 50

populateState

protected void populateState(string ordering, string direction)

Method to auto-populate the model state.

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

Since: 1.6 Note: Calling getState in this method will result in recursion. Parameters: ordering - An optional ordering field. direction - An optional direction (asc|desc). administrator/components/com_users/models/groups.php at line 76

getStoreId

protected string getStoreId(string id)

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.

Parameters: id - A prefix for the store id. Returns: A store id. Since: 12.2 administrator/components/com_users/models/groups.php at line 91

getItems

public mixed getItems()

Gets the list of groups and adds expensive joins to the result set.

Returns: An array of data items on success, false on failure. Since: 1.6 administrator/components/com_users/models/groups.php at line 158

getListQuery

protected JDatabaseQuery getListQuery()

Build an SQL query to load the list data.

Since: 12.2 Вернуться к записям по теме Joomla.

ya.samposebe.ru

FinderModelMaps *Документация по Joomla 3.0.2

Вернуться к записям по теме Joomla.

Joomla.Administrator\FinderModelMaps

administrator/components/com_finder/models/maps.php at line 19 JObject└─JModelLegacy└─JModelList└─FinderModelMaps

public class FinderModelMapsextends JModelList

Subpackage: com_finder Since: 2.5 Fields inherited from Joomla.Platform\JObject
_errors
Constructor Summary
void

__construct(array config, mixed properties)

Constructor.

Method Summary
protected boolean

canDelete(object record)

Method to test whether a record can be deleted.

protected boolean

canEditState(object record)

Method to test whether a record can be deleted.

boolean

delete(array &$pks, mixed pks)

Method to delete one or more records.

protected JDatabaseQuery

getListQuery()

Build an SQL query to load the list data.

protected string

getStoreId(string id)

Method to get a store id based on model configuration state.

JTable

getTable(string type, string prefix, array config, string name, array options)

Returns a JTable object, always creating it.

protected void

populateState(string ordering, string direction)

Method to auto-populate the model state.

boolean

publish(array &$pks, integer value, mixed pks)

Method to change the published state of one or more records.

boolean

purge()

Method to purge all maps from the taxonomy.

Methods inherited from Joomla.Legacy\JModelLegacy
__construct, _createFileName, _createTable, _getList, _getListCount, addIncludePath, addTablePath, cleanCache, getDbo, getInstance, getName, getState, getTable, populateState, setDbo, setState

Constructor Detail

administrator/components/com_finder/models/maps.php at line 29

__construct

public void __construct(array config, mixed properties)

Constructor.

Parameters: config - An associative array of configuration settings. [optional] Since: 2.5 See Also: JController Throws: Exception

Method Detail

administrator/components/com_finder/models/maps.php at line 51

canDelete

protected boolean canDelete(object record)

Method to test whether a record can be deleted.

Parameters: record - A record object. Returns: True if allowed to delete the record. Defaults to the permission for the component. Since: 2.5 administrator/components/com_finder/models/maps.php at line 66

canEditState

protected boolean canEditState(object record)

Method to test whether a record can be deleted.

Parameters: record - A record object. Returns: True if allowed to change the state of the record. Defaults to the permission for the component. Since: 2.5 administrator/components/com_finder/models/maps.php at line 81

delete

public boolean delete(array &$pks, mixed pks)

Method to delete one or more records.

Parameters: &$pks - An array of record primary keys. Returns: True if successful, false if an error occurs. Since: 2.5 administrator/components/com_finder/models/maps.php at line 151

getListQuery

protected JDatabaseQuery getListQuery()

Build an SQL query to load the list data.

Returns: A JDatabaseQuery object Since: 2.5 administrator/components/com_finder/models/maps.php at line 214

getStoreId

protected string getStoreId(string id)

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.

Parameters: id - A prefix for the store id. [optional] Returns: A store id. Since: 2.5 administrator/components/com_finder/models/maps.php at line 235

getTable

public JTable getTable(string type, string prefix, array config, string name, array options)

Returns a JTable object, always creating it.

Parameters: type - The table type to instantiate. [optional] prefix - A prefix for the table class name. [optional] config - Configuration array for model. [optional] Returns: A database object Since: 2.5 Throws: Exception administrator/components/com_finder/models/maps.php at line 250

populateState

protected void populateState(string ordering, string direction)

Method to auto-populate the model state. Calling getState in this method will result in recursion.

Parameters: ordering - An optional ordering field. [optional] direction - An optional direction. [optional] Since: 2.5 Note: Calling getState in this method will result in recursion. administrator/components/com_finder/models/maps.php at line 280

publish

public boolean publish(array &$pks, integer value, mixed pks)

Method to change the published state of one or more records.

Parameters: &$pks - A list of the primary keys to change. value - The value of the published state. [optional] Returns: True on success. Since: 2.5 administrator/components/com_finder/models/maps.php at line 338

purge

public boolean purge()

Method to purge all maps from the taxonomy.

Returns: Returns true on success, false on failure. Since: 2.5 Вернуться к записям по теме Joomla.

ya.samposebe.ru

ModulesModelPositions *Документация по Joomla 3.0.2

Вернуться к записям по теме Joomla.

Joomla.Administrator\ModulesModelPositions

administrator/components/com_modules/models/positions.php at line 19 JObject└─JModelLegacy└─JModelList└─ModulesModelPositions

public class ModulesModelPositionsextends JModelList

Subpackage: com_modules Since: 1.6 Fields inherited from Joomla.Platform\JObject
_errors
Constructor Summary
void

__construct(array config, array An, mixed properties)

Constructor.

Method Summary
protected void

populateState(string ordering, string direction)

Method to auto-populate the model state.

mixed

getItems()

Method to get an array of data items.

int

getTotal()

Method to get the total number of items.

Methods inherited from Joomla.Legacy\JModelLegacy
__construct, _createFileName, _createTable, _getList, _getListCount, addIncludePath, addTablePath, cleanCache, getDbo, getInstance, getName, getState, getTable, populateState, setDbo, setState

Constructor Detail

administrator/components/com_modules/models/positions.php at line 28

__construct

public void __construct(array config, array An, mixed properties)

Constructor.

Parameters: An - optional associative array of configuration settings. See Also: JController Since: 1.6 Throws: Exception

Method Detail

administrator/components/com_modules/models/positions.php at line 47

populateState

protected void populateState(string ordering, string direction)

Method to auto-populate the model state.

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

Since: 1.6 Note: Calling getState in this method will result in recursion. Parameters: ordering - An optional ordering field. direction - An optional direction (asc|desc). administrator/components/com_modules/models/positions.php at line 81

getItems

public mixed getItems()

Method to get an array of data items.

Returns: An array of data items on success, false on failure. Since: 1.6 administrator/components/com_modules/models/positions.php at line 202

getTotal

public int getTotal()

Method to get the total number of items.

Returns: The total number of items. Since: 1.6 Вернуться к записям по теме Joomla.

ya.samposebe.ru


Prostoy-Site | Все права защищены © 2018 | Карта сайта