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

getAllAnswers()

getAllAnswers(  $topicId,   $forumId) 

Parameters

$topicId
$forumId

getLastAnswer()

getLastAnswer(  $topicId,   $forumId) 

Parameters

$topicId
$forumId

getNumberAnswers()

getNumberAnswers(  $topicId,   $forumId) 

Parameters

$topicId
$forumId

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