[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/components/com_newsfeeds/src/Model/ -> NewsfeedModel.php (summary)

(no description)

Copyright: (C) 2006 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 225 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

NewsfeedModel:: (3 methods):
  populateState()
  getItem()
  hit()


Class: NewsfeedModel  - X-Ref

Newsfeeds Component Newsfeed Model

populateState()   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 newsfeed data.

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

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

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



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer