mgd_create_snippetdir

(Midgard 1.4.2 'Bifrost')

mgd_create_snippetdir -- Create a snippetdir

Description

int mgd_create_snippetdir (int [up], string name, string description, int owner)

Minimum version: Midgard 1.4 (Bifrost)

Creates a snippetdir record with the provided parameters.

Returns the id of the created record if successful. Returns FALSE on failure.


<?php
  mgd_create_snippetdir("example","toplevel snippetdir named example",13);
?>