/** * Updates the number of available questions for a question pool in the database * * @param integer $object_id Object id of the questionpool to examine * @access public */ public static function _updateQuestionCount($object_id) { global $ilDB; $result = $ilDB->manipulateF("UPDATE qpl_questionpool SET questioncount = %s, tstamp = %s WHERE obj_fi = %s", array('integer', 'integer', 'integer'), array(ilObjQuestionPool::_getQuestionCount($object_id, TRUE), time(), $object_id)); }