-
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
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);
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);
3 matches
Mail list logo