Open Source Content Management Framework

mgd_get_topic_by_path

  1. Description

mgd_get_topic_by_path -- Get a topic by its path.

Description

`object **mgd_get_topic_by_path** (string path)`

Minimum version: Midgard 1.6 (Black Volga)

Gets information about the topic record  in topic path_ path _.

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

<?php  
      $topic = mgd_get_topic_by_path("/company/news");  
      echo $topic->description;  
    ?>
Designed by Nemein, hosted by Kafit