|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
xe Smarty Rookie
Joined: 25 Sep 2003 Posts: 8
|
Posted: Mon Oct 13, 2003 6:05 pm Post subject: is_array |
|
|
hi. does anyone know a quick and clean way to find out if a variable is an array? could not find any is_array-function in smarty standard funcs.
any suggestions appriciated
/xe |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Mon Oct 13, 2003 7:32 pm Post subject: |
|
|
you can use is_array as a modifier like any php-function. |
|
Back to top |
|
xe Smarty Rookie
Joined: 25 Sep 2003 Posts: 8
|
Posted: Tue Oct 14, 2003 7:59 am Post subject: |
|
|
oops. didnt know that. thanks messju. |
|
Back to top |
|
|
|
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
|