Hello Frank,

Saturday, July 15, 2000, 1:23:37 AM, you wrote:
> According to phpinfo(), I have the following snippet-related functions:
> 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()!
It should be so. mgd_include_snippet() is not a function, it is a
statement, equal to include() but working with Midgard database.
> 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();
> or any other way to circumvent the missing function mgd_include_snippet?
Just use
mgd_include_snippet("/MySnippets/Cool/snippet");


-- 
Best regards,
 Alexander                            mailto:[EMAIL PROTECTED]



--
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]

Reply via email to