mgd_get_snippetdir_by_path

(Midgard 1.4.2 'Bifrost')

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_snippet_dir_by_path("/example");
  echo $snippetdir->description;
?>