$this->id, 'sent_uid' => $this->sent_uid, "editor" => UserApi::getByUuId($this->user_uid), 'content' => $this->content, 'landmark' => $this->landmark, 'pr_from' => $this->pr_from, 'created_at' => $this->created_at ]; if($this->fork_from){ $fork_from = ChannelApi::getById($this->fork_from); if($fork_from){ $data['fork_from'] = $fork_from; $data['fork_studio'] = StudioApi::getById($fork_from['studio_id']); } } if($this->accepter_uid){ $data['accepter'] = UserApi::getByUuId($this->accepter_uid); } return $data; } }