Chapter 95. Topic Object Definition

This section describes the content of topic objects. Most object parameters map directly to the record fields described above.

The functions listed within the object definition are the object methods that are available for the object. Usage information about those methods can be found in Object Methods.



Class topic {

  var $N;              // Only with mgd_list_XXX functions.
  var $id;
  var $up;
  var $name;
  var $extra;
  var $owner;
  var $score;
  var $description;
  var $revised;
  var $created;
  var $revisor;
  var $creator;
  var $revision;
  var $code;
  var $sitegroup;

  function fetch();    // Only with mgd_list_XXX functions.

  function create();
  function update();
  function delete();

  function createattachment();
  function updateattachment();
  function deleteattachment();
  function getattachment();
  function listattachments();
  function openattachment();
  function serveattachment();

  function listparameters();
  function parameter();
  function searchparameters();
 
  function getsitegroup();
  function setsitegroup();

}