protected function init() { // add Google activity handler $this->pm->subscribe('foafpress_activity_from_google_com', $this, 'formatOutput'); // parameters: event name, class name or instance, event handler method return; }