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( $keyPost, $level, $idart, $idcat, $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( unknown_type $id_user_forum, unknown_type $name, unknown_type $email, unknown_type $like, unknown_type $dislike, unknown_type $forum, integer $online )
|
public
|
#
toggleOnlineState( $onlineState, integer $id_user_forum, $idart = NULL )
toggles the given input with update in db. |
public
|
|
public
array
|
|
public
|
|
public
multitype:NULL
|
|
public
boolean
|
|
public
|
#
incrementLike( $forum_user_id )
this function increments the actual value of likes from a comment and persists it. |
public
|
#
incrementDislike( $forum_user_id )
this function inkrements the actual value of dislikes from a comment and persists it. |
public
|
#
insertValues( $parent, $idart, $idcat, $lang, $userid, $email, $realname, $forum, $forum_quote )
persists a new comment created at the frontend module. |
public
|
#
deleteAllCommentsById( articleId $idart )
this function deletes all comments related to the same articleId |
public
multitype:
|
#
getExistingforumFrontend( unknown_type $id_cat, unknown_type $id_art, unknown_type $id_lang, unknown_type $frontend )
|
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
multitype:NULL
|
|
protected
Ambigous
|
|
public
|
_getPropertiesCollectionInstance(),
_getSecondDBInstance(),
_resetItem(),
escape()
|
_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,
$_oCache,
$_settings,
$lasterror,
$primaryKey,
$properties,
$secondDb,
$table,
$virgin
|