It seems to me that some people here believe that introduction of logical
operators to PHPTAL will force them (the people) to use these operators. It
will not. It will simply give more flexibility to those who want it, and
those who don't will be able to continue using PHPTAL the way they have.
...@lists.motion-twin.com] Im Auftrag von Ivo Võsa
Gesendet: Montag, 4. Oktober 2010 11:54
An: Template Attribute Language for PHP
Betreff: Re: [PHPTAL] Re: AW: Logical operators in PHPTAL
Kornel Lesiński wrote:
On 1 Oct 2010, at 18:46, Moritz Baumann wrote:
I think the next step would
How did I solve the problem? (I'm working with ZF)
/**
* PHPTAL context modifier (helper:)
*
* @param string $src
* @param boolean $nothrow
* @return string
*/
function phptal_tales_helper($src, $nothrow) {
$src = 'helper-'.trim($src);
return PHPTAL_Php_Transformer::transform($src,