Arnaud ASSAD wrote:

> Can someone point me to a tutorial or example on how to use a PHP
> class with Midgard.

Put your library classes to into snippets. If appropriate, you can have
more than one class per snippet. In the pages, use

mgd_include_snippet("/path/to/snippet")

Keep in mind, that even the command above is called from within <? ?>,
in the snippet code you still have to begin with <? and end with ?>.


Frank

-- 
Dr Frank Boehme                      | Email: [EMAIL PROTECTED]
National University of Ireland, Cork | phone: +353-21-4903163
Dept of Computer Science             |   fax: +353-21-4903113
Cork, Ireland                        |

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to