Re: [SMARTY] Smarty inside class

From: Date: Sun, 13 Oct 2002 00:04:22 +0000
Subject: Re: [SMARTY] Smarty inside class
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6121@lists.php.net to get a copy of this message
Do a "global $smartyobj;" inside the method which you need to access. Ray ----- Original Message ----- From: "Eskil Kvalnes" <eskil@uten.net> To: "Smarty Mailing List" <smarty-general@lists.php.net> Sent: Saturday, October 12, 2002 5:45 AM Subject: [SMARTY] Smarty inside class > Hey, > > I've been trying to get smarty to assign two variables inside a class, but > no matter what I do, it doesn't work. > > My class is being called after I've instanciated Smarty so I thought that my > class could just use $smartyobj->assign.... doesn't seem to work though :/ > > Any ideas? > > --------------- > Sincerely, > Eskil Kvalnes > eskil@uten.net > > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.smarty.general (#6121) next »