PubdbModelPeople - JoomlaPubDB/PubDB GitHub Wiki

Class: \PubdbModelPeople

Namespace: [](../namespaces/default)


Summary:

Methods supporting a list of Pubdb records.


Constants

  • No constants found

Properties


Methods


Details


Tags

Tag Version Description
since 1.6

Methods

public __construct()

public __construct(array  $config = array()) 

Summary

Constructor.

Details:

Parameters:
Type Name Description
array $config An optional associative array of configuration settings.
Tags
Tag Version Description
since 1.6

public getItems() : mixed

public getItems() : mixed

Summary

Get an array of data items

Details:

Returns: mixed - Array of data items on success, false on failure.

protected populateState() : void

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:

Parameters:
Type Name Description
string $ordering Elements order
string $direction Order direction
Throws:
Type Description
\Exception

Returns: void

protected getStoreId() : string

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:

Parameters:
Type Name Description
string $id A prefix for the store id.

Returns: string - A store id.

Tags
Tag Version Description
since 1.6

protected getListQuery() : \JDatabaseQuery

protected getListQuery() : \JDatabaseQuery

Summary

Build an SQL query to load the list data.

Details:

Returns: \JDatabaseQuery

Tags
Tag Version Description
since 1.6

Top Namespaces


Reports


This document was automatically generated from source code comments on 2020-07-13 using phpDocumentor and fr3nch13/phpdoc-markdown

⚠️ **GitHub.com Fallback** ⚠️