[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/administrator/components/com_banners/models/ -> banners.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: 240 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BannersModelBanners:: (6 methods):
  __construct()
  getCategoryOrders()
  getListQuery()
  getStoreId()
  getTable()
  populateState()


Class: BannersModelBanners  - X-Ref

Methods supporting a list of banner records.

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

param: array    An optional associative array of configuration settings.

getCategoryOrders()   X-Ref
Method to get the maximum ordering value for each category.


getListQuery()   X-Ref
Build an SQL query to load the list data.

return: JDatabaseQuery

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.

getTable($type = 'Banner', $prefix = 'BannersTable', $config = array()   X-Ref
Returns a reference to the a Table object, always creating it.

param: type    The table type to instantiate
param: string    A prefix for the table class name. Optional.
param: array    Configuration array for model. Optional.
return: JTable    A database object

populateState($ordering = null, $direction = null)   X-Ref
Method to auto-populate the model state.

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




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