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

Search found 2 matches
Smarty Forum Index
Author Message
  Topic: 3.1 Assigning variables after display or fetch in PHP
cristiana

Replies: 11
Views: 8490

PostForum: General   Posted: Thu Nov 03, 2011 3:50 pm   Subject: 3.1 Assigning variables after display or fetch in PHP
In my actual code it looks like

$this->smarty->assign(....


The smarty object is instantiated and attached as a property of my own object

The above example was just the minimum amo ...
  Topic: 3.1 Assigning variables after display or fetch in PHP
cristiana

Replies: 11
Views: 8490

PostForum: General   Posted: Thu Nov 03, 2011 12:57 pm   Subject: 3.1 Assigning variables after display or fetch in PHP
In previous versions of Smarty, I was able to call php methods inside the template and have php run the ->assign smarty method to add new variables to the page. However, in 3.1, that functionality ...
 
Page 1 of 1
All times are GMT
Jump to:  


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