mgd_get_topic_by_name

(Midgard 1.4.2 'Bifrost')

mgd_get_topic_by_name -- Get a topic by its name

Description

object get_topic_by_name (int [id], string [name])

Minimum version: Midgard 1.4 (Bifrost)

Gets information about the topic record with its up field set to id and name name .

Returns an object describing the record if successful. Returns FALSE on failure.


<?php
  $topic = mgd_get_topic_by_name(17,"examples");
  echo $topic->description;
?>