Le mercredi 20 mai 2009 à 17:06 +0100, Kornel Lesiński a écrit :

> 
> No, there is no such possibility.
> 
> You have to create your own attribute (PHPTAL_Php_Attribute class) and use 
> PHPTAL_Php_Attribute::generateDefault() to get create code for contents of 
> the element.
> 
> To get attribute's value, you'll need 
> $this->phpelement->getAttributeNodeNS(), check its $attr->getReplacedState() 
> and use $attr->getValue() when possible.
> 
> See how PHPTAL's i18n:attributes does it.


Ok, modifiers was a more easy option for what I need... but if it's
technically not possible I'll try your way

Thanks Kornel.




_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to