> mgd_list_snippetdirs() mgd_get_snippetdir() mgd_get_snippetdir_by_path()
> mgd_create_snippetdir() mgd_update_snippetdir() mgd_delete_snippetdir()
> mgd_copy_snippetdir() mgd_list_snippets() mgd_get_snippet()
> mgd_get_snippet_by_name() mgd_create_snippet() mgd_update_snippet()
> mgd_delete_snippet()
>
> No mention of mgd_include_snippet()!
mgd_include_snippet is embedded directly in the language scanner. I wonder
if there's another way to go about this.
> Is there another way to execute a snippet? Suppose I get it by its id
> (rather than by path) using
>
> $snippet = mgd_get_snippet($id);
>
> Now what? Is there something like
>
> $snippet->run();
I suppose &(snippet.code:p); or <? eval $snippet->code; ?> should work
too.
Emile
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]