3 * Board helper functions
8 function __construct($boardid) {
10 SO2
::$DB->q('SET @boardid = ?', $boardid);
14 if ( ! ($info=SO2
::$Cache->get('board['.$this->id
.'].info')) ) {
15 $info = SO2
::$DB->q('SELECT board_name, topic_lvl, post_lvl, view_lvl, points FROM boards WHERE boardid = @boardid');
16 SO2
::$Cache->add('board['.$this->id
.'].info', $info);