[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

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

(no description)

Copyright: Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
License: GNU/GPL, see LICENSE.php
Version: $Id: section.php 21043 2011-03-31 16:01:13Z dextercowley $
File Size: 584 lines (15 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ContentModelSection:: (15 methods):
  __construct()
  setId()
  getData()
  getTotal()
  getSection()
  getCategories()
  getArchives()
  getTree()
  _loadSection()
  _loadCategories()
  _loadData()
  _loadTree()
  _buildQuery()
  _buildContentOrderBy()
  _buildContentWhere()


Class: ContentModelSection  - X-Ref

Content Component Section Model

__construct( )   X-Ref
Constructor


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

param: int    Section ID number

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

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 section

return: integer

getSection()   X-Ref
Method to get section data for the current section


getCategories()   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 section

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

getTree()   X-Ref
Method to get archived article data for the current section

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

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

return: boolean    True on success

_loadCategories()   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

_loadTree()   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
Build the SQL ORDER BY for the section listing.

param: int        $state    The published state of the articles being listed.
return: string    The full ORDER BY clause.

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



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