-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

- --On 27.03.2002 13:41:49 +0100 Emiliano wrote:

>> > Yes. You can re-enable it with --with-old-mod-midgard. Calls to
>> > mgd_eval are  replaced with eval("?>".mgd_preparse(...
>> 
>> Doesn't that parameter switch to non-MMP Mode? I'm using MMP...
> 
> It re-enables some functions that should be obsoleted by MMP.

Ah I see. I'll keep that in mind.


>> "Midgard specific stuff" is what exactly? Does it expect HTML or PHP
>> Code?
> 
> mgd_preparse does both, replacing mgd_eval (and eval, if you so wish),
> mgd_snippet, mgd_include and the &(...); and <[...]> stuff. It expects
> the string passed to start as HTML.

mgd_snippet? mgd_include? I'm beginning to suspect that I've discovered
only the tip of an iceberg. As long as the eval(mgd_preparse())
Construct stays the offical replacement for the eval() thing, I'll be
fine... *g*


>> I do not, I depend on a documentation about this. Especially the
>> whole Formatter things. Questions like which formatter does Midgard
>> expansion, which not, when do I have to use mgd_preparse, how do I do
>> eval() constructs with Midgard support. All those things would be
>> really nice if there is some place where they are defined.
> 
> Yes. They would.

The old problem. If you could give me some description about all these
missing things (including a short overview over the deprecated ones and
how they should be replaced) I'd be glad to write some docs about it.
(Not that I have the slightest Idea how to incorporate this in the Main
Documentation...)


>> - - A function, that works like mgd_eval but does expand Midgard
>> specific things withing non-PHP parts of the construct.
> 
> Not possible without re-implementing the Zend eval (which is what
> mgd_eval previously did). eval works in the scope of the code that
> calls it. A function, _any_ function, works in its local scope unless
> you explicitly name the variables you want to be globals, and even
> then it only works in the global scope, not the calling scope.

Which is definitly too much work...


Live long and prosper!
Torben Nehmer

- --
Torben Nehmer, Munich, Germany
http://www.nathan-syntronics.de, mailto:[EMAIL PROTECTED]
PGP Public Key ID on wwwkeys.(de.)pgp.net: 0x7E9DE456
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org

iD8DBQE8occlJPh4Kn6d5FYRAopLAJ4tILkp5Bh/vKxuN99ZHLiR2COsjgCfZAJR
JmmDKG3pzWWeS3qfkXA+Pi0=
=Fjer
-----END PGP SIGNATURE-----


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

Reply via email to