Open Source Content Management Framework

mgd_get_topic_by_name

  1. Description

mgd_get_topic_by_name -- Get a topic by its name

Description

object mgd_get_topic_by_name(int _id_, string _name_)

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;  
    ?>
Designed by Nemein, hosted by Kafit