Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/diff/view/PHUIDiffInlineCommentView.php
| Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | protected function getInlineCommentMetadata() { | ||||
| return array( | return array( | ||||
| 'id' => $inline->getID(), | 'id' => $inline->getID(), | ||||
| 'phid' => $inline->getPHID(), | 'phid' => $inline->getPHID(), | ||||
| 'changesetID' => $inline->getChangesetID(), | 'changesetID' => $inline->getChangesetID(), | ||||
| 'number' => $inline->getLineNumber(), | 'number' => $inline->getLineNumber(), | ||||
| 'length' => $inline->getLineLength(), | 'length' => $inline->getLineLength(), | ||||
| 'isNewFile' => (bool)$inline->getIsNewFile(), | 'isNewFile' => (bool)$inline->getIsNewFile(), | ||||
| 'original' => $inline->getContent(), | |||||
| 'replyToCommentPHID' => $inline->getReplyToCommentPHID(), | 'replyToCommentPHID' => $inline->getReplyToCommentPHID(), | ||||
| 'isDraft' => $inline->isDraft(), | 'isDraft' => $inline->isDraft(), | ||||
| 'isFixed' => $is_fixed, | 'isFixed' => $is_fixed, | ||||
| 'isGhost' => $inline->getIsGhost(), | 'isGhost' => $inline->getIsGhost(), | ||||
| 'isSynthetic' => $is_synthetic, | 'isSynthetic' => $is_synthetic, | ||||
| 'isDraftDone' => $is_draft_done, | 'isDraftDone' => $is_draft_done, | ||||
| 'isEditing' => $inline->getIsEditing(), | 'isEditing' => $inline->getIsEditing(), | ||||
| 'documentEngineKey' => $inline->getDocumentEngineKey(), | 'documentEngineKey' => $inline->getDocumentEngineKey(), | ||||
| 'startOffset' => $inline->getStartOffset(), | 'startOffset' => $inline->getStartOffset(), | ||||
| 'endOffset' => $inline->getEndOffset(), | 'endOffset' => $inline->getEndOffset(), | ||||
| 'on_right' => $this->getIsOnRight(), | 'on_right' => $this->getIsOnRight(), | ||||
| 'contentState' => $inline->getContentState(), | |||||
| ); | ); | ||||
| } | } | ||||
| } | } | ||||