[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/components/com_content/models/ -> category.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
License: GNU/GPL, see LICENSE.php
Version: $Id: category.php 19340 2010-11-03 15:00:55Z ian $
File Size: 527 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ContentModelCategory:: (13 methods):
  __construct()
  setId()
  getData()
  getTotal()
  getCategory()
  getSiblings()
  getArchives()
  _loadCategory()
  _loadSiblings()
  _loadData()
  _buildQuery()
  _buildContentOrderBy()
  _buildContentWhere()


Class: ContentModelCategory  - X-Ref

Content Component Category Model

__construct()   X-Ref
Constructor


setId($id)   X-Ref
Method to set the category id

param: int    Category ID number

getData($state = 1)   X-Ref
Method to get content item data for the current category

param: int    $state    The content state to pull from for the current

getTotal($state = 1)   X-Ref
Method to get the total number of content items for the frontpage

return: integer

getCategory()   X-Ref
Method to get category data for the current category


getSiblings()   X-Ref
Method to get sibling category data for the current category


getArchives($state = -1)   X-Ref
Method to get archived article data for the current category

param: int    $state    The content state to pull from for the current section

_loadCategory()   X-Ref
Method to load category data if it doesn't exist.

return: boolean    True on success

_loadSiblings()   X-Ref
Method to load sibling category data if it doesn't exist.

return: boolean    True on success

_loadData($state = 1)   X-Ref
Method to load content item data for items in the category if they don't
exist.

return: boolean    True on success

_buildQuery($state = 1)   X-Ref
No description

_buildContentOrderBy($state = 1)   X-Ref
No description

_buildContentWhere($state = 1)   X-Ref
No description



Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1