| [ Index ] |
PHP Cross Reference of Joomla 2.5.4 DE |
[Source view] [Print] [Project Stats]
(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: | 300 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
NewsfeedsModelCategory:: (9 methods):
__construct()
getItems()
getListQuery()
populateState()
getCategory()
getParent()
getLeftSibling()
getRightSibling()
getChildren()
Class: NewsfeedsModelCategory - X-Ref
Newsfeeds Component Category Model| __construct($config = array() X-Ref |
| Constructor. param: array An optional associative array of configuration settings. |
| getItems() X-Ref |
| Method to get a list of items. return: mixed An array of objects on success, false on failure. |
| getListQuery() X-Ref |
| Method to build an SQL query to load the list data. return: string An SQL query |
| populateState($ordering = null, $direction = null) X-Ref |
| Method to auto-populate the model state. Note. Calling getState in this method will result in recursion. |
| getCategory() X-Ref |
| Method to get category data for the current category param: int An optional ID return: object |
| getParent() X-Ref |
| Get the parent category. param: int An optional category id. If not supplied, the model state 'category.id' will be used. return: mixed An array of categories or false if an error occurs. |
| getLeftSibling() X-Ref |
| Get the sibling (adjacent) categories. return: mixed An array of categories or false if an error occurs. |
| getRightSibling() X-Ref |
| No description |
| getChildren() X-Ref |
| Get the child categories. param: int An optional category id. If not supplied, the model state 'category.id' will be used. return: mixed An array of categories or false if an error occurs. |
| Generated: Tue Apr 3 11:40:28 2012 | Cross-referenced by PHPXref 0.7.1 |