PubdbModelPeople - JoomlaPubDB/PubDB GitHub Wiki
Summary:
Methods supporting a list of Pubdb records.
- No constants found
- public __construct()
- public getItems()
- protected populateState()
- protected getStoreId()
- protected getListQuery()
- File: administrator/models/people.php
- Package: Com_Pubdb
- Class Hierarchy:
- \Joomla\CMS\MVC\Model\ListModel
- \PubdbModelPeople
Tag | Version | Description |
---|---|---|
since | 1.6 |
public __construct(array $config = array())
Summary
Constructor.
Details:
- Inherited From: \PubdbModelPeople
- See Also:
- \JController
Type | Name | Description |
---|---|---|
array |
$config | An optional associative array of configuration settings. |
Tag | Version | Description |
---|---|---|
since | 1.6 |
public getItems() : mixed
Summary
Get an array of data items
Details:
- Inherited From: \PubdbModelPeople
Returns: mixed - Array of data items on success, false on failure.
protected populateState(string $ordering = null, string $direction = null) : void
Summary
Method to auto-populate the model state.
Description
Note. Calling getState in this method will result in recursion.
Details:
- Inherited From: \PubdbModelPeople
Type | Name | Description |
---|---|---|
string |
$ordering | Elements order |
string |
$direction | Order direction |
Type | Description |
---|---|
\Exception |
Returns: void
protected getStoreId(string $id = '') : string
Summary
Method to get a store id based on model configuration state.
Description
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.
Details:
- Inherited From: \PubdbModelPeople
Type | Name | Description |
---|---|---|
string |
$id | A prefix for the store id. |
Returns: string - A store id.
Tag | Version | Description |
---|---|---|
since | 1.6 |
protected getListQuery() : \JDatabaseQuery
Summary
Build an SQL query to load the list data.
Details:
- Inherited From: \PubdbModelPeople
Returns: \JDatabaseQuery
Tag | Version | Description |
---|---|---|
since | 1.6 |
This document was automatically generated from source code comments on 2020-07-13 using phpDocumentor and fr3nch13/phpdoc-markdown