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]
- [midgard-user] unable to load library midgard.so Erwin Lansing
- Re: [midgard-user] unable to load library midgard.s... Alexander Bokovoy
- Re: [midgard-user] unable to load library midga... Erwin Lansing
- [midgard-user] Using PHP classes with midgard. Arnaud ASSAD
- Re: [midgard-user] Using PHP classes with m... Frank Boehme
- Re: [midgard-user] Using PHP classes wi... Alexander Bokovoy
- Re: [midgard-user] Using PHP class... Frank Boehme
- Re: [midgard-user] Using PHP classes with m... Emiliano
- Re: [midgard-user] Using PHP classes wi... David Guerizec
- [midgard-user] mgd_table_extname Marius Onica
- Re: [midgard-user] mgd_table_extname Emiliano
- Re: [midgard-user] mgd_table_extname Marius Onica
- Re: [midgard-user] mgd_table_extna... Emiliano
- Re: [midgard-user] mgd_table_e... Marius Onica
- Re: [midgard-user] mgd_tab... Emiliano
