pathChanges = $path_changes; return $this; } public function render() { $rows = array(); foreach ($this->pathChanges as $change) { $change_verb = DifferentialChangeType::getFullNameForChangeType( $change->getChangeType()); $rows[] = array( $this->linkHistory($change->getPath()), $this->linkBrowse($change->getPath()), $this->linkChange( $change->getPath(), array( 'text' => $change_verb, )), phutil_escape_html($change->getPath()), ); } $view = new AphrontTableView($rows); $view->setHeaders( array( 'History', 'Browse', 'Change', 'Path', )); $view->setColumnClasses( array( '', '', '', 'wide', )); $view->setNoDataString('This change has not been fully parsed yet.'); return $view->render(); } }