I have a php object that is working fine. I'm now trying to get one public function to call a private one and I can't get it working...
// Join - Headline & About Me
public function updateHeadlineAboutMe($joinHeadline, $joinAboutMe) {
// Profanity Audit Member Text
$prof_headline = profanityAudit($joinHeadline);
$prof_aboutme = profanityAudit($joinAboutMe);
echo $prof_headline;
echo $prof_aboutme;
// other code here...
}
// Profanity Audit of Member Text
private function profanityAudit($auditText) {
return('ok');
}
I'm just trying to get the private function to return a value so I know its being called successfully. This function will be used (by many functions) to compare text to a list of swear words in a table to see of the text needs manual reviewing...
What should I try to get this working?
thankyou very much...