Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

how to Know tag name inside callback function?

 
Post new topic   Reply to topic    Smarty Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
max8
Smarty n00b


Joined: 27 Dec 2011
Posts: 1

PostPosted: Tue Dec 27, 2011 3:22 pm    Post subject: how to Know tag name inside callback function? Reply with quote

there is some way to Know tag name inside callback function? This way I can use 1 php function for multiple smarty functions that have similar behavior.

...the only way I found is with 'registerDefaultPluginHandler', but it's too generic

thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Plugins All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP