\Groovel\Cmsgroovel\daoForumDao

Summary

Methods
Properties
Constants
paginateForums()
createForum()
getNumberSubjects()
getNumberMessages()
getLastMessage()
getAllTopics()
getAllAnswers()
getLastAnswer()
getNumberAnswers()
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
No private properties found
N/A

Methods

paginateForums()

paginateForums() 

createForum()

createForum(  $name,   $description) 

Parameters

$name
$description

getNumberSubjects()

getNumberSubjects(  $forumName) 

Parameters

$forumName

getNumberMessages()

getNumberMessages(  $forumName) 

Parameters

$forumName

getLastMessage()

getLastMessage(  $forumName) 

Parameters

$forumName

getAllTopics()

getAllTopics(  $forumName) 

Parameters

$forumName

getAllAnswers()

getAllAnswers(  $topicId,   $forumId) 

Parameters

$topicId
$forumId

getLastAnswer()

getLastAnswer(  $topicId,   $forumId) 

Parameters

$topicId
$forumId

getNumberAnswers()

getNumberAnswers(  $topicId,   $forumId) 

Parameters

$topicId
$forumId

saveTopic()

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

Parameters

$subject
$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