|
|
Subject: [SMARTY] Eval in the plugins - msg#00321
List: php.smarty.general
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
[SMARTY] unpublished parameters, custom functions?!
Hi,
Is there a policy behind skipping parameters of custom functions in the
manual? Is it reserved for those studing the code?
Example of what I mean:
custon function - fetch:
-In the latest documentation there's no word about the
possibility of setting
- proxy_host,
- proxy_port,
- referer
- etc ..
why should people miss these lovely features if it's implemented?!
Greetings,
Duda
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Next Message by Date:
click to view message preview
Re: [SMARTY] Eval in the plugins
On Sun, Apr 20, 2003 at 11:44:21AM +0200, Haber Janos wrote:
> Hi!
>
> I want to evaulate an expression ina block function, that´s possible?
have a look into libs/plugins/function.eval.php how it is done there.
$this->_compile_template() is used there. it is considered internal,
so nobody can give you a 100% guarantee, that this function won't
change and your block-function will still work as is with smarty-4.0
or the like, but IMHO it's the best opportunity you have for now.
greetings
messju
> Cow
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Previous Message by Thread:
click to view message preview
[SMARTY] unpublished parameters, custom functions?!
Hi,
Is there a policy behind skipping parameters of custom functions in the
manual? Is it reserved for those studing the code?
Example of what I mean:
custon function - fetch:
-In the latest documentation there's no word about the
possibility of setting
- proxy_host,
- proxy_port,
- referer
- etc ..
why should people miss these lovely features if it's implemented?!
Greetings,
Duda
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Next Message by Thread:
click to view message preview
Re: [SMARTY] Eval in the plugins
On Sun, Apr 20, 2003 at 11:44:21AM +0200, Haber Janos wrote:
> Hi!
>
> I want to evaulate an expression ina block function, that´s possible?
have a look into libs/plugins/function.eval.php how it is done there.
$this->_compile_template() is used there. it is considered internal,
so nobody can give you a 100% guarantee, that this function won't
change and your block-function will still work as is with smarty-4.0
or the like, but IMHO it's the best opportunity you have for now.
greetings
messju
> Cow
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|
|