Open Source Content Management Framework

mgd_get_snippetdir_by_path

  1. Description

mgd_get_snippetdir_by_path -- Get snippetdir by its path

Description

`object **mgd_get_snippetdir_by_path** (string path)`

Minimum version: Midgard 1.4 (Bifrost)

Gets information about the snippetdir record with path path.

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

<?php  
      $snippetdir = mgd_get_snippetdir_by_path("/example");  
      echo $snippetdir->description;  
    ?>
Designed by Nemein, hosted by Anykey