Re: accessing variable from inside a class
| From: | James Colannino | Date: | Fri, 04 Sep 2009 21:49:20 +0000 |
| Subject: | Re: accessing variable from inside a class | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-297702@lists.php.net to get a copy of this message | ||
Lars Nielsen wrote:
> Hi,
>
> How do i access a variable from inside a class?
Add the following statement:
global $template_dir;
James