can a function in a class call another one in the same class..how?
class abc{
function xyz() { return 'test';
}
function y(){
echo $this->xyz; }
Simple :
class abc{ function xyz() { return 'test'; } function y(){ echo $this->xyz(); } }