Hi,

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

When migrating a php site to midgard I face a problem which is obviously
bound
to my lack of knowledge about Midgard :

I've got a page : cv.php3
this page includes 2 class files connexion.php3 and form.php3 (both are
private classes)
cv.php3 do some stuff before the body is printed and eventually either
display a form
or redirect to another page...

How do I dispatch this page in a Midgard environnement ?
I guess I'll have to break my code in several components (one who will be
placed before ROOT)
and another in the content, but I'm not sure.
Worse I don't know where by code elements should go ? code-init ?
As a 'bonus' question what is the clean way to do it knowing that few pages
will include
those 2 includes ???

Any help/link/tutorial answer is welcome...

arnaud ASSAD.


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

Reply via email to