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
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
|
#
deleteHierarchie( 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( unknown_type $id_user_forum, unknown_type $name, unknown_type $email, unknown_type $like, unknown_type $dislike, unknown_type $forum, unknown_type $online, unknown_type $checked )
|
public
|
#
toggleOnlineState( mixed $onlineState, integer $id_user_forum )
toggles the given input with update in db. |
public
|
#
mailToModerator( unknown_type $realname, unknown_type $email, unknown_type $forum, unknown_type $idart, unknown_type $lang, unknown_type $forum_quote = 0 )
email notification for registred moderator. before calling this function it is necessary to receive the converted language string from frontend module. |
public
array
|
|
public
|
|
public
multitype:NULL
|
|
public
|
|
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( 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
|
_getPropertiesCollectionInstance(),
_getSecondDBInstance(),
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
|