mgd_include_snippet

Name

mgd_include_snippet -- Include a snippet

Synopsis

void mgd_include_snippet(string snippet_path);

Description

Minimum version: Midgard 1.4 (Bifrost)

Includes and executes content of a snippet record corresponding to the snippet_path above. This function actually is PHP statement equal to include or eval but gets its content from Midgard database.

This function has no return value.