accessing parent class inherited variable in subclass in PHP

Posted by Abhishek on Stack Overflow See other posts from Stack Overflow or by Abhishek
Published on 2010-06-01T18:50:38Z Indexed on 2010/06/01 18:53 UTC
Read the original article Hit count: 289

Filed under:
|
|
|
|

I have made a class in php which is goind to be inherited by another class in the other folder. when i put echo $this->protectedvariableofclass; //in subclass function it gives no value remember my base class is stored \class\user.php sublass is stored as \model\model_user.php Please help me out Thanks in advance

© Stack Overflow or respective owner

Related posts about php

Related posts about oop