[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/components/com_content/models/ -> articles.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: 593 lines (21 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ContentModelArticles:: (6 methods):
  __construct()
  populateState()
  getStoreId()
  getListQuery()
  getItems()
  getStart()


Class: ContentModelArticles  - X-Ref

This models supports retrieving lists of articles.

__construct($config = array()   X-Ref
Constructor.

param: array    An optional associative array of configuration settings.

populateState($ordering = 'ordering', $direction = 'ASC')   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.

getListQuery()   X-Ref
Get the master query for retrieving a list of articles subject to the model state.

return: JDatabaseQuery

getItems()   X-Ref
Method to get a list of articles.

Overriden to inject convert the attribs field into a JParameter object.

return: mixed    An array of objects on success, false on failure.

getStart()   X-Ref
No description



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