If I have a function in a plugin that is normally called with parameters that are retrieved like this:
public function eventtitle() {
$eventCode = $this->EE->TMPL->fetch_param("event_code");
$_type = $this->EE->TMPL->fetch_param("_type");
// do other stuff
return $value;
}
How do I call that same function from another function WITHIN the same plugin passing the same parameters?
$coursetitle = $this->eventtitle($eventcode);