|
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 |
anolis Smarty n00b
Joined: 10 Mar 2005 Posts: 2
|
Posted: Thu Mar 10, 2005 10:18 am Post subject: Variablen an php-Script übergeben |
|
|
Hallo Leute,
wie kann ich bei Smarty Variablen an ein php-Script übergeben welches mit "include_php file" eingebunden ist.
MFG anolis |
|
Back to top |
|
coach Smarty Regular
Joined: 03 Jun 2004 Posts: 65
|
Posted: Fri Mar 11, 2005 12:55 pm Post subject: |
|
|
Hallo anolis,
in der Doku http://smarty.php.net/manual/de/language.function.include.php.php steht folgendes:
Quote: |
Das Objekt '$smarty' kann in dem eingebundenen PHP-Script über '$this' angesprochen werden.
|
D.h. du kannst auf alle Variablen der Smarty-Instanz zugreifen.
Mach einfach mal im includierten Php
Coach |
|
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
|