Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 2 matches
Smarty Forum Index
Author Message
  Topic: get array item from custom function
matt86

Replies: 2
Views: 10903

PostForum: Smarty Development   Posted: Wed Dec 05, 2012 6:31 am   Subject: get array item from custom function
Great!
now it work!

thanks

Note that function plugins are expected to return printable values.

For other cases the standart procedure is that the plugin accepts an assign parameter with the ...
  Topic: get array item from custom function
matt86

Replies: 2
Views: 10903

PostForum: Smarty Development   Posted: Tue Dec 04, 2012 9:23 am   Subject: get array item from custom function
Hello,
I've a problem with register_function.

I created a function in this way:

function hello($params)
{
$a = $params['a'];
$b = $params['b'];
return array& ...
 
Page 1 of 1
All times are GMT
Jump to:  


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