channel = $data['channel']; } public function processRequest() { $request = $this->getRequest(); $user = $request->getUser(); $query = new PhabricatorChatLogQuery(); $query->withChannels(array($this->channel)); $query->setLimit(1000); $logs = $query->execute(); require_celerity_resource('phabricator-chatlog-css'); $last_author = null; $last_epoch = null; $row_idx = 0; $row_colors = array( 'normal', 'alternate', ); $out = array(); $out[] = '
'. phabricator_datetime($log->getEpoch(), $user).' | '; $author = $log->getAuthor(); $author = phutil_utf8_shorten($author, 18); $out[] = ''. phutil_escape_html($author).' | '; } else { $out[] = '
'; } $out[] = ' '; $out[] = ' |