[prev in list] [next in list] [prev in thread] [next in thread] 

List:       midgard-user
Subject:    [midgard-user] Re: display modifiers in regular php
From:       "pascalvanhecke <pascalvanhecke () yahoo ! com>" <pascalvanhecke () yahoo ! com>
Date:       2002-12-22 22:22:28
[Download RAW message or body]

>
http://www.midgard-project.org/manual/en/part.concepts.syntaxaddition.php
> shows how to use "display modifiers" such as:
> 
>  ?>&(article.abstract:F);<?
> 
> However, can I use the text transformation this ":F" performs, in
plain php
> as well?
> In other words, is there a (still undocumented) function like:
> 
> display_modified($article->abstract,"F");
> 
> apart from
> 
> mgd_eval( "?>&(article.abstract:F);<?" );
> 
> 
> , which I think is a rather slow and not very elegant workaround?



>
> $modified_content = mgd_format($article->abstract, "F");
>
> Emile

Aahhh... if I had known this...
This lead me to looking up some other midgard functions I could find using
the phpinfo() function, and are not in the documentation yet: I added
a note
at :

http://www.midgard-project.org/manual/en/ref-other.php

pascal


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@midgard-project.org
For additional commands, e-mail: user-help@midgard-project.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic