Re: RES: [PHP] Extract variable out of a Class -> Function

2009-04-23 Thread Rahul S. Johari
- De: Rahul S. Johari [mailto:sleepwal...@rahulsjohari.com] Enviada em: quinta-feira, 23 de abril de 2009 14:56 Para: php-general@lists.php.net Assunto: [PHP] Extract variable out of a Class -> Function I have a function within a class. There is a variable inside that function which I nee

Re: [PHP] Extract variable out of a Class -> Function

2009-04-23 Thread Alex S Kurilo aka Kamazee
I have a function within a class. There is a variable inside that function which I need to access & use outside of the class/function. For example ... Class Test { function showOutput { if ($this->url) { $justTT = substr($this->url,-10,7);

[PHP] Extract variable out of a Class -> Function

2009-04-23 Thread Rahul S. Johari
I have a function within a class. There is a variable inside that function which I need to access & use outside of the class/function. For example ... Class Test { function showOutput { if ($this->url) { $justTT = substr($this->url,-10,7);