/**
  *
  * @param $userId
  * @param $question
  * @param $settings
  * @return QUESTIONS_BOL_Question
  */
 public function addQuestion($userId, $text, $settings = array(), $privacy = QUESTIONS_BOL_FeedService::PRIVACY_EVERYBODY)
 {
     $event = new OW_Event(self::EVENT_BEFORE_QUESTION_ADDED, array('text' => $text, 'userId' => $userId, 'settings' => $settings), array('text' => $text, 'settings' => $settings, 'privacy' => $privacy));
     OW::getEventManager()->trigger($event);
     $data = $event->getData();
     $text = $data['text'];
     $settings = $data['settings'];
     $privacy = $data['privacy'];
     $question = new QUESTIONS_BOL_Question();
     $question->setSettings($settings);
     $question->text = $text;
     $question->userId = (int) $userId;
     $question->timeStamp = time();
     $this->questionDao->save($question);
     $this->followDao->addFollow($userId, $question->id);
     OW::getEventManager()->trigger(new OW_Event(self::EVENT_QUESTION_ADDED, array('text' => $text, 'userId' => $userId, 'settings' => $settings, 'id' => $question->id, 'privacy' => $privacy)));
     return $question;
 }