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