[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (C) 2006 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 434 lines (17 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ArticleModel:: (5 methods):
populateState()
getItem()
hit()
storeVote()
cleanCache()
Class: ArticleModel - X-Ref
Content Component Article ModelpopulateState() X-Ref |
Method to auto-populate the model state. Note. Calling getState in this method will result in recursion. return: void |
getItem($pk = null) X-Ref |
Method to get article data. param: integer $pk The id of the article. return: object|boolean Menu item data object on success, boolean false |
hit($pk = 0) X-Ref |
Increment the hit counter for the article. param: integer $pk 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 |
Save user vote on article param: integer $pk Joomla Article Id param: integer $rate Voting rate return: boolean Return true on success |
cleanCache($group = null, $clientId = 0) X-Ref |
Cleans the cache of com_content and content modules param: string $group The cache group param: integer $clientId @deprecated 5.0 No longer used. return: void |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |