the best that could be done is something like this.. - it assumes that
you name files according to classes contained.
if (!class_exists("XML_Tree"))
mgd_include_snippet("hklc_omphp/classes/XML_Tree.class");
Tarjei wrote:
> My initial idea was to find an existing system and try to move it into
> midgard. If the system is fairly objectoriented, this should be
> possible. Maybe it's too much work. Hmm.
>
> Has anyone tried the import module function that comes with nadmin? I
> think it should work quite well except for the fact that there's no
> "require()" equivalent ofr mgd_include_snippet().
>
> Tarjei
>
> Henri Bergius wrote:
>
>> Ami Ganguli wrote:
>>
>>> Henri Bergius has also put together some discussion code, but I'm
>>> not sure what his plans are to release it.
>>
>>
>>
>>
>> I've been thinking to write a short tutorial on writing
>> Midgard applications based on the discussion snippets.
>>
>> However, looking at my schedule, this will take a while.
>> If someone urgently needs readymade discussion system,
>> let me know.
>>
>>
>>> ... Ami.
>>
>>
>>
>> /Bergie
>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]