mgd_list_snippetdirs

(Midgard 1.4.2 'Bifrost')

mgd_list_snippetdirs -- List snippetdirs

Description

object mgd_list_snippetdirs (int id)

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 successful. Returns FALSE on failure.


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