Class ArticleForumCollection
This class contains functions for dB manipulations and for the interaction between the frontend module content_user_forum and the backend plugin.
- cGenericDb
- cItemBaseAbstract
- ItemCollection
- ArticleForumCollection
Package: Plugin\UserForum
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Claus Schunk
Located at plugins/user_forum/classes/class.article_forum_collection.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Claus Schunk
Located at plugins/user_forum/classes/class.article_forum_collection.php
public
|
|
public
array
|
|
public
|
#
deleteHierarchy( mixed $keyPost, mixed $level, mixed $idart, mixed $idcat, mixed $lang )
deletes comment with all subcomments from this comment |
protected
array
|
|
public
|
|
public
|
#
getTreeLevel( integer $id_cat, integer $id_art, integer $id_lang, array & $arrUsers, array & $arrforum, integer $parent = 0, boolean $frontend = false )
|
public
|
#
updateValues( integer $id_user_forum, string $name, string $email, integer $like, integer $dislike, unknown_type $forum, integer $online )
|
public
|
#
toggleOnlineState( integer $onlineState, integer $id_user_forum, integer $idart = NULL )
toggles the given input with update in db. |
public
|
#
mailToModerator( mixed $realname, mixed $email, mixed $forum, mixed $idart, mixed $lang, integer $forum_quote = 0 )
|
public
array
|
|
public
array
|
|
public
array
|
|
public
boolean
|
|
public
|
#
incrementLike( mixed $forum_user_id )
this function increments the actual value of likes from a comment and persists it. |
public
|
#
incrementDislike( mixed $forum_user_id )
this function inkrements the actual value of dislikes from a comment and persists it. |
public
|
#
insertValues( mixed $parent, mixed $idart, mixed $idcat, mixed $lang, mixed $userid, mixed $email, mixed $realname, mixed $forum, mixed $forum_quote )
persists a new comment created at the frontend module. |
public
|
#
deleteAllCommentsById( integer $idart )
this function deletes all comments related to the same articleId |
public
array
|
|
public
string
|
|
public
boolean
|
|
public
boolean
|
|
public
array
|
|
public
|
#
languageSync( array & $str )
this function is used to get translations from the language of the frontend module for example to generate the e-mail text with correct language settings. |
public
unknown_type
|
|
public
array
|
|
protected
integer|boolean
|
|
public
|
__get(),
__set(),
_getPropertiesCollectionInstance(),
_getSecondDBInstance(),
_resetItem(),
_setLoaded(),
_setPrimaryKeyName(),
escape(),
getPrimaryKeyName(),
isLoaded()
|
_executeCallbacks(),
register(),
unregister()
|
CREATE_BEFORE,
CREATE_FAILURE,
CREATE_SUCCESS,
DELETE_BEFORE,
DELETE_FAILURE,
DELETE_SUCCESS,
STORE_BEFORE,
STORE_FAILURE,
STORE_SUCCESS
|
protected
array
|
$cfg | 0 |
|
protected
|
$db | 0 |
|
protected
|
$item | 0 |
|
protected
array
|
$languageSync | 0 |
|
protected
integer
|
$idContentType | 0 |
$_className,
$_loaded,
$_oCache,
$_primaryKeyName,
$_settings,
$lasterror,
$properties,
$secondDb,
$table
|