How can I "pass" eventName to dbSafe() in the following fashion? Is this possible? What would dbSafe() look like?
$eventClass->eventName->dbSafe();
I'm guessing dbSafe() would look roughly like this:
public function dbSafe() {
return mysql_real_escape_string($this);
}