mgd_get_snippetdir

Name

mgd_get_snippetdir -- Get a snippetdir

Synopsis

object mgd_get_snippetdir(int id);

Description

Minimum version: Midgard 1.4 (Bifrost)

Gets information about the snippetdir record with id id.

Returns an object describing the record if successfull. Returns false on failure.

Example

<?php
  $snippetdir = mgd_get_snippetdir(17);
  echo $snippetdir->name;
?>