mgd_get_topic_by_name

Name

mgd_get_topic_by_name -- Get a topic by its name

Synopsis

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

Description

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 successfull. Returns false on failure.

Example

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