public function share(&$Activity) { // Massage the event for the user. $this->EventArguments['RecordType'] = 'Activity'; $this->EventArguments['Activity'] =& $Activity; $this->fireEvent('Share'); }