On Tue, Mar 27, 2001 at 06:49:39PM +0100, Frank Boehme wrote:
> 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 ?>.
... like it is done with require(), require_once(), and include() in straight PHP

-- 
Sincerely yours, Alexander Bokovoy 
  The Midgard Project    | ALT  Linux  Team | Minsk Linux Users Group
 www.midgard-project.org | www.altlinux.ru  |    www.minsk-lug.net 
-- He who laughs last usually had to have joke explained.

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

Reply via email to