\Groovel\Cmsgroovel\business\groovel\admin\forumGroovelForumBusiness

Summary

Methods
Properties
Constants
__construct()
paginateForums()
createForum()
getNumberSubjects()
getNumberMessages()
getLastMessage()
getAllAnswers()
getLastAnswer()
getNumberAnswers()
getAllTopics()
saveTopic()
findTopic()
saveAnswer()
deleteTopic()
deleteForum()
deleteAnswer()
findForum()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$forumDao
$userDao
$configDao
N/A

Properties

$forumDao

$forumDao : 

Type

$userDao

$userDao : 

Type

$configDao

$configDao : 

Type

Methods

paginateForums()

paginateForums() 

createForum()

createForum(  $name,   $description) 

Parameters

$name
$description

getNumberSubjects()

getNumberSubjects(  $name) 

Parameters

$name

getNumberMessages()

getNumberMessages(  $name) 

Parameters

$name

getLastMessage()

getLastMessage(  $name) 

Parameters

$name

getAllAnswers()

getAllAnswers(  $topicId,   $forumId) 

Parameters

$topicId
$forumId

getLastAnswer()

getLastAnswer(  $topicId,   $forumId) 

Parameters

$topicId
$forumId

getNumberAnswers()

getNumberAnswers(  $topicId,   $forumId) 

Parameters

$topicId
$forumId

getAllTopics()

getAllTopics(  $forumName) 

Parameters

$forumName

saveTopic()

saveTopic(  $topic,   $question,   $forumid,   $pseudo) 

Parameters

$topic
$question
$forumid
$pseudo

findTopic()

findTopic(  $topicId) 

Parameters

$topicId

saveAnswer()

saveAnswer(  $pseudo,   $message,   $forumid,   $topic_id) 

Parameters

$pseudo
$message
$forumid
$topic_id

deleteTopic()

deleteTopic(  $id) 

Parameters

$id

deleteForum()

deleteForum(  $id) 

Parameters

$id

deleteAnswer()

deleteAnswer(  $id) 

Parameters

$id

findForum()

findForum(  $forumid) 

Parameters

$forumid