This is probably a really simple question however Google isn't my friend today.
I have something like this but it says call to undefined function
<?php
class myClass{
function doSomething($str){
//Something is done here
}
function doAnother($str){
return doSomething($str);
}
}
?>