mgd_list_snippetdirs

Name

mgd_list_snippetdirs -- List snippetdirs

Synopsis

object mgd_list_snippetdirs(int id);

Description

Minimum version: Midgard 1.4 (Bifrost)

Lists the snippetdir records that have their up field set to id.

Returns an object traversable by calling fetch if successfull. Returns false on failure.

Example

<?php
  $list = mgd_list_snippetdirs(13);
  while($list->fetch()){
    echo $list->description . "<br>\n";
  }
?>