Name
$object->setscore -- Set the score of a record
Synopsis
boolean $object->setscore
(int score);
Description
Minimum version: Midgard 1.4 (Bifrost)
Sets the score of a record.
Returns true if successfull. Returns false on failure.
Method available for: article and topic records.
Example
<?php
$topic = mgd_get_topic(123); # topic with id 123 must exist.
$topic->setscore($topic->score + 1);
?>