[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/components/com_content/models/ -> article.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: 314 lines (11 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ContentModelArticle:: (4 methods):
  populateState()
  getItem()
  hit()
  storeVote()


Class: ContentModelArticle  - X-Ref

Content Component Article Model

populateState()   X-Ref
Method to auto-populate the model state.

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


getItem($pk = null)   X-Ref
Method to get article data.

param: integer    The id of the article.
return: mixed    Menu item data object on success, false on failure.

hit($pk = 0)   X-Ref
Increment the hit counter for the article.

param: int        Optional primary key of the article to increment.
return: boolean    True if successful; false otherwise and internal error set.

storeVote($pk = 0, $rate = 0)   X-Ref
No description



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