Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.
www.smarty.net
•
phpinsider.com
•
Forum Index
•
FAQ
•
Search
•
Memberlist
•
Profile
•
Log in to check your private messages
•
Register
•
Log in
Search found 3 matches
Smarty Forum Index
Author
Message
Topic:
Setting an object variable
ieure
Replies:
1
Views:
5131
Forum:
General
Posted: Fri Nov 21, 2003 12:09 am Subject:
Setting an object variable
I'm trying to set an object's variable from my Smarty template. E.g.
class Foo {
var $bar;
}
How can I set $bar inside my template? It doesn't look like Smarty can do basic variab ...
Topic:
Creating an array in Smarty
ieure
Replies:
17
Views:
205337
Forum:
Smarty Development
Posted: Wed Oct 15, 2003 11:08 pm Subject:
Creating an array in Smarty
For a heated discussion, try Assign to arraysNB: includes Messju's simple append suggestion
Thank you, this is perfect.
Topic:
Creating an array in Smarty
ieure
Replies:
17
Views:
205337
Forum:
Smarty Development
Posted: Tue Oct 14, 2003 10:32 pm Subject:
Creating an array in Smarty
Hi there. I'm using Smarty for a project, and I need to create an array inside a Smarty template, for processing by another template.
e.g.
{include file="Foo.tpl" arg=array("one", "two", "three")} ...
Page
1
of
1
All times are GMT
Jump to:
Select a forum
General
----------------
Announcements
Installation and Setup
FAQ (Frequently Asked Questions)
Testimonials
Showcase
Help Wanted (commercial)
User Supported Help
----------------
General
Tips and Tricks
Plugins
Add-ons
Frameworks
Article Discussions
Development
----------------
Smarty Development
Feature Requests
Bugs
Documentation
Smarty 3
International Discussions
----------------
Language: German
Language: French
Language: Portuguese
Language: Russian
Language: Spanish
Language: Italian
Language: Japanese
Language: Persian
Language: Polish
Language: Indonesian
Powered by
phpBB
© 2001, 2005 phpBB Group
Protected by
Anti-Spam ACP