| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Source view] [Print] [Project Stats]
(no description)
| Copyright: | Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. |
| License: | GNU/GPL, see LICENSE.php |
| Version: | $Id: article.php 14401 2010-01-26 14:10:00Z louis $ |
| File Size: | 638 lines (17 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
ContentModelArticle:: (14 methods):
__construct()
setId()
set()
get()
getArticle()
hit()
isCheckedOut()
checkin()
checkout()
store()
storeVote()
_loadArticle()
_loadArticleParams()
_buildContentWhere()
Class: ContentModelArticle - X-Ref
Content Component Article Model| __construct() X-Ref |
| Constructor |
| setId($id) X-Ref |
| Method to set the article id param: int Article ID number |
| set( $property, $value=null ) X-Ref |
| Overridden set method to pass properties on to the article param: string $property The name of the property param: mixed $value The value of the property to set return: boolean True on success |
| get($property, $default=null) X-Ref |
| Overridden get method to get properties from the article param: string $property The name of the property param: mixed $value The value of the property to set return: mixed The value of the property |
| getArticle() X-Ref |
| Method to get content article data for the frontpage |
| hit() X-Ref |
| Method to increment the hit counter for the article return: boolean True on success |
| isCheckedOut( $uid=0 ) X-Ref |
| Tests if article is checked out param: int A user id return: boolean True if checked out |
| checkin() X-Ref |
| Method to checkin/unlock the article return: boolean True on success |
| checkout($uid = null) X-Ref |
| Method to checkout/lock the article param: int $uid User ID of the user checking the article out return: boolean True on success |
| store($data) X-Ref |
| Method to store the article return: boolean True on success |
| storeVote($rate) X-Ref |
| Method to store a user rating for a content article param: int $rating Article rating [ 1 - 5 ] return: boolean True on success |
| _loadArticle() X-Ref |
| Method to load content article data return: boolean True on success |
| _loadArticleParams() X-Ref |
| Method to load content article parameters return: void |
| _buildContentWhere() X-Ref |
| Method to build the WHERE clause of the query to select a content article return: string WHERE clause |
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |