private function createActivityDataByRequest(sfWebRequest $request)
 {
     $saveData = $request->getParameterHolder()->getAll();
     $memberId = $this->getUser()->getMemberId();
     $this->createdActivity = $this->timeline->createPostActivityFromAPIByApiDataAndMemberId($saveData, $memberId);
     if ($this->isUploadImagePost()) {
         $fileInfo = $this->createFileInfo($request);
         $this->timeline->createActivityImageByFileInfoAndActivityId($fileInfo, $this->createdActivity->getId());
     }
 }
Beispiel #2
0
 private function createActivityDataByRequest(sfWebRequest $request)
 {
     $saveData = $request->getParameterHolder()->getAll();
     $memberId = $this->getUser()->getMemberId();
     $this->createdActivity = $this->timeline->createPostActivityFromAPIByApiDataAndMemberId($saveData, $memberId);
 }