@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Move setUser() to AphrontView

Summary: This is used in every other view.

Test Plan: Browsed around.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4248

vrana ef214e94 45b66be9

+11 -352
-6
src/applications/audit/view/PhabricatorAuditCommitListView.php
··· 2 2 3 3 final class PhabricatorAuditCommitListView extends AphrontView { 4 4 5 - private $user; 6 5 private $commits; 7 6 private $handles; 8 7 private $noDataString; 9 - 10 - public function setUser(PhabricatorUser $user) { 11 - $this->user = $user; 12 - return $this; 13 - } 14 8 15 9 public function setNoDataString($no_data_string) { 16 10 $this->noDataString = $no_data_string;
-6
src/applications/audit/view/PhabricatorAuditListView.php
··· 7 7 private $authorityPHIDs = array(); 8 8 private $noDataString; 9 9 private $commits; 10 - private $user; 11 10 private $showDescriptions = true; 12 11 13 12 private $highlightedAudits; ··· 41 40 public function setCommits(array $commits) { 42 41 assert_instances_of($commits, 'PhabricatorRepositoryCommit'); 43 42 $this->commits = mpull($commits, null, 'getPHID'); 44 - return $this; 45 - } 46 - 47 - public function setUser(PhabricatorUser $user) { 48 - $this->user = $user; 49 43 return $this; 50 44 } 51 45
-6
src/applications/calendar/view/AphrontCalendarMonthView.php
··· 2 2 3 3 final class AphrontCalendarMonthView extends AphrontView { 4 4 5 - private $user; 6 5 private $month; 7 6 private $year; 8 7 private $holidays = array(); ··· 15 14 } 16 15 private function getBrowseURI() { 17 16 return $this->browseURI; 18 - } 19 - 20 - public function setUser(PhabricatorUser $user) { 21 - $this->user = $user; 22 - return $this; 23 17 } 24 18 25 19 public function addEvent(AphrontCalendarEventView $event) {
-6
src/applications/daemon/view/PhabricatorDaemonLogEventsView.php
··· 4 4 5 5 private $events; 6 6 private $combinedLog; 7 - private $user; 8 7 9 8 public function setEvents(array $events) { 10 9 assert_instances_of($events, 'PhabricatorDaemonLogEvent'); ··· 14 13 15 14 public function setCombinedLog($is_combined) { 16 15 $this->combinedLog = $is_combined; 17 - return $this; 18 - } 19 - 20 - public function setUser(PhabricatorUser $user) { 21 - $this->user = $user; 22 16 return $this; 23 17 } 24 18
-6
src/applications/daemon/view/PhabricatorDaemonLogListView.php
··· 3 3 final class PhabricatorDaemonLogListView extends AphrontView { 4 4 5 5 private $daemonLogs; 6 - private $user; 7 6 8 7 public function setDaemonLogs(array $daemon_logs) { 9 8 assert_instances_of($daemon_logs, 'PhabricatorDaemonLog'); 10 9 $this->daemonLogs = $daemon_logs; 11 - return $this; 12 - } 13 - 14 - public function setUser(PhabricatorUser $user) { 15 - $this->user = $user; 16 10 return $this; 17 11 } 18 12
-6
src/applications/differential/view/DifferentialAddCommentView.php
··· 5 5 private $revision; 6 6 private $actions; 7 7 private $actionURI; 8 - private $user; 9 8 private $draft; 10 9 private $auxFields; 11 10 private $reviewers = array(); ··· 29 28 30 29 public function setActionURI($uri) { 31 30 $this->actionURI = $uri; 32 - return $this; 33 - } 34 - 35 - public function setUser(PhabricatorUser $user) { 36 - $this->user = $user; 37 31 return $this; 38 32 } 39 33
+1 -7
src/applications/differential/view/DifferentialChangesetListView.php
··· 13 13 private $leftRawFileURI; 14 14 private $rightRawFileURI; 15 15 16 - private $user; 17 16 private $symbolIndexes = array(); 18 17 private $repository; 19 18 private $branch; ··· 21 20 private $vsMap = array(); 22 21 23 22 private $title; 24 - 23 + 25 24 public function setTitle($title) { 26 25 $this->title = $title; 27 26 return $this; ··· 50 49 51 50 public function setInlineCommentControllerURI($uri) { 52 51 $this->inlineURI = $uri; 53 - return $this; 54 - } 55 - 56 - public function setUser(PhabricatorUser $user) { 57 - $this->user = $user; 58 52 return $this; 59 53 } 60 54
-6
src/applications/differential/view/DifferentialDiffTableOfContentsView.php
··· 7 7 private $references = array(); 8 8 private $repository; 9 9 private $diff; 10 - private $user; 11 10 private $renderURI = '/differential/changeset/'; 12 11 private $revisionID; 13 12 private $whitespace; ··· 40 39 41 40 public function setUnitTestData($unit_test_data) { 42 41 $this->unitTestData = $unit_test_data; 43 - return $this; 44 - } 45 - 46 - public function setUser(PhabricatorUser $user) { 47 - $this->user = $user; 48 42 return $this; 49 43 } 50 44
-6
src/applications/differential/view/DifferentialInlineCommentEditView.php
··· 2 2 3 3 final class DifferentialInlineCommentEditView extends AphrontView { 4 4 5 - private $user; 6 5 private $inputs = array(); 7 6 private $uri; 8 7 private $title; ··· 12 11 13 12 public function addHiddenInput($key, $value) { 14 13 $this->inputs[] = array($key, $value); 15 - return $this; 16 - } 17 - 18 - public function setUser(PhabricatorUser $user) { 19 - $this->user = $user; 20 14 return $this; 21 15 } 22 16
-6
src/applications/differential/view/DifferentialLocalCommitsView.php
··· 3 3 final class DifferentialLocalCommitsView extends AphrontView { 4 4 5 5 private $localCommits; 6 - private $user; 7 6 8 7 public function setLocalCommits($local_commits) { 9 8 $this->localCommits = $local_commits; 10 - return $this; 11 - } 12 - 13 - public function setUser(PhabricatorUser $user) { 14 - $this->user = $user; 15 9 return $this; 16 10 } 17 11
-6
src/applications/differential/view/DifferentialRevisionCommentListView.php
··· 6 6 private $handles; 7 7 private $inlines; 8 8 private $changesets; 9 - private $user; 10 9 private $target; 11 10 private $versusDiffID; 12 11 private $id; ··· 32 31 public function setChangesets(array $changesets) { 33 32 assert_instances_of($changesets, 'DifferentialChangeset'); 34 33 $this->changesets = $changesets; 35 - return $this; 36 - } 37 - 38 - public function setUser(PhabricatorUser $user) { 39 - $this->user = $user; 40 34 return $this; 41 35 } 42 36
-6
src/applications/differential/view/DifferentialRevisionCommentView.php
··· 10 10 private $changesets; 11 11 private $target; 12 12 private $anchorName; 13 - private $user; 14 13 private $versusDiffID; 15 14 16 15 public function setComment($comment) { ··· 59 58 60 59 public function setAnchorName($anchor_name) { 61 60 $this->anchorName = $anchor_name; 62 - return $this; 63 - } 64 - 65 - public function setUser(PhabricatorUser $user) { 66 - $this->user = $user; 67 61 return $this; 68 62 } 69 63
-9
src/applications/differential/view/DifferentialRevisionDetailView.php
··· 4 4 5 5 private $revision; 6 6 private $actions; 7 - private $user; 8 7 private $auxiliaryFields = array(); 9 8 private $diff; 10 9 ··· 27 26 } 28 27 private function getActions() { 29 28 return $this->actions; 30 - } 31 - 32 - public function setUser(PhabricatorUser $user) { 33 - $this->user = $user; 34 - return $this; 35 - } 36 - private function getUser() { 37 - return $this->user; 38 29 } 39 30 40 31 public function setAuxiliaryFields(array $fields) {
-6
src/applications/differential/view/DifferentialRevisionListView.php
··· 9 9 private $flags = array(); 10 10 private $drafts = array(); 11 11 private $handles; 12 - private $user; 13 12 private $fields; 14 13 private $highlightAge; 15 14 const NO_DATA_STRING = 'No revisions found.'; ··· 44 43 public function setHandles(array $handles) { 45 44 assert_instances_of($handles, 'PhabricatorObjectHandle'); 46 45 $this->handles = $handles; 47 - return $this; 48 - } 49 - 50 - public function setUser(PhabricatorUser $user) { 51 - $this->user = $user; 52 46 return $this; 53 47 } 54 48
-6
src/applications/differential/view/DifferentialRevisionStatsView.php
··· 7 7 private $comments; 8 8 private $revisions; 9 9 private $diffs; 10 - private $user; 11 10 private $filter; 12 11 13 12 public function setRevisions(array $revisions) { ··· 30 29 31 30 public function setFilter($filter) { 32 31 $this->filter = $filter; 33 - return $this; 34 - } 35 - 36 - public function setUser($user) { 37 - $this->user = $user; 38 32 return $this; 39 33 } 40 34
-10
src/applications/differential/view/DifferentialRevisionUpdateHistoryView.php
··· 6 6 private $selectedVersusDiffID; 7 7 private $selectedDiffID; 8 8 private $selectedWhitespace; 9 - private $user; 10 9 11 10 public function setDiffs(array $diffs) { 12 11 assert_instances_of($diffs, 'DifferentialDiff'); ··· 27 26 public function setSelectedWhitespace($whitespace) { 28 27 $this->selectedWhitespace = $whitespace; 29 28 return $this; 30 - } 31 - 32 - public function setUser($user) { 33 - $this->user = $user; 34 - return $this; 35 - } 36 - 37 - public function getUser() { 38 - return $this->user; 39 29 } 40 30 41 31 public function render() {
-6
src/applications/diffusion/view/DiffusionBranchTableView.php
··· 3 3 final class DiffusionBranchTableView extends DiffusionView { 4 4 5 5 private $branches; 6 - private $user; 7 6 private $commits = array(); 8 7 9 8 public function setBranches(array $branches) { ··· 14 13 15 14 public function setCommits(array $commits) { 16 15 $this->commits = mpull($commits, null, 'getCommitIdentifier'); 17 - return $this; 18 - } 19 - 20 - public function setUser(PhabricatorUser $user) { 21 - $this->user = $user; 22 16 return $this; 23 17 } 24 18
-6
src/applications/diffusion/view/DiffusionBrowseTableView.php
··· 4 4 5 5 private $paths; 6 6 private $handles = array(); 7 - private $user; 8 7 9 8 public function setPaths(array $paths) { 10 9 assert_instances_of($paths, 'DiffusionRepositoryPath'); ··· 15 14 public function setHandles(array $handles) { 16 15 assert_instances_of($handles, 'PhabricatorObjectHandle'); 17 16 $this->handles = $handles; 18 - return $this; 19 - } 20 - 21 - public function setUser(PhabricatorUser $user) { 22 - $this->user = $user; 23 17 return $this; 24 18 } 25 19
-6
src/applications/diffusion/view/DiffusionCommentListView.php
··· 2 2 3 3 final class DiffusionCommentListView extends AphrontView { 4 4 5 - private $user; 6 5 private $comments; 7 6 private $inlineComments = array(); 8 7 private $pathMap = array(); 9 8 private $handles = array(); 10 9 private $markupEngine; 11 - 12 - public function setUser(PhabricatorUser $user) { 13 - $this->user = $user; 14 - return $this; 15 - } 16 10 17 11 public function setComments(array $comments) { 18 12 assert_instances_of($comments, 'PhabricatorAuditComment');
-6
src/applications/diffusion/view/DiffusionCommentView.php
··· 2 2 3 3 final class DiffusionCommentView extends AphrontView { 4 4 5 - private $user; 6 5 private $comment; 7 6 private $commentNumber; 8 7 private $handles; ··· 11 10 12 11 private $inlineComments; 13 12 private $markupEngine; 14 - 15 - public function setUser(PhabricatorUser $user) { 16 - $this->user = $user; 17 - return $this; 18 - } 19 13 20 14 public function setComment(PhabricatorAuditComment $comment) { 21 15 $this->comment = $comment;
-6
src/applications/diffusion/view/DiffusionTagListView.php
··· 3 3 final class DiffusionTagListView extends DiffusionView { 4 4 5 5 private $tags; 6 - private $user; 7 6 private $commits = array(); 8 7 private $handles = array(); 9 - 10 - public function setUser($user) { 11 - $this->user = $user; 12 - return $this; 13 - } 14 8 15 9 public function setTags($tags) { 16 10 $this->tags = $tags;
-6
src/applications/flag/view/PhabricatorFlagListView.php
··· 3 3 final class PhabricatorFlagListView extends AphrontView { 4 4 5 5 private $flags; 6 - private $user; 7 6 8 7 public function setFlags(array $flags) { 9 8 assert_instances_of($flags, 'PhabricatorFlag'); 10 9 $this->flags = $flags; 11 - return $this; 12 - } 13 - 14 - public function setUser(PhabricatorUser $user) { 15 - $this->user = $user; 16 10 return $this; 17 11 } 18 12
-6
src/applications/herald/view/HeraldRuleEditHistoryView.php
··· 4 4 5 5 private $edits; 6 6 private $handles; 7 - private $user; 8 7 9 8 public function setEdits(array $edits) { 10 9 $this->edits = $edits; ··· 18 17 public function setHandles(array $handles) { 19 18 assert_instances_of($handles, 'PhabricatorObjectHandle'); 20 19 $this->handles = $handles; 21 - return $this; 22 - } 23 - 24 - public function setUser($user) { 25 - $this->user = $user; 26 20 return $this; 27 21 } 28 22
-6
src/applications/herald/view/HeraldRuleListView.php
··· 7 7 8 8 private $showAuthor; 9 9 private $showRuleType; 10 - private $user; 11 10 12 11 public function setRules(array $rules) { 13 12 assert_instances_of($rules, 'HeraldRule'); ··· 28 27 29 28 public function setShowRuleType($show_rule_type) { 30 29 $this->showRuleType = $show_rule_type; 31 - return $this; 32 - } 33 - 34 - public function setUser($user) { 35 - $this->user = $user; 36 30 return $this; 37 31 } 38 32
-6
src/applications/maniphest/view/ManiphestTaskListView.php
··· 7 7 8 8 private $tasks; 9 9 private $handles; 10 - private $user; 11 10 private $showBatchControls; 12 11 private $showSubpriorityControls; 13 12 ··· 20 19 public function setHandles(array $handles) { 21 20 assert_instances_of($handles, 'PhabricatorObjectHandle'); 22 21 $this->handles = $handles; 23 - return $this; 24 - } 25 - 26 - public function setUser(PhabricatorUser $user) { 27 - $this->user = $user; 28 22 return $this; 29 23 } 30 24
-6
src/applications/maniphest/view/ManiphestTaskSummaryView.php
··· 7 7 8 8 private $task; 9 9 private $handles; 10 - private $user; 11 10 private $showBatchControls; 12 11 private $showSubpriorityControls; 13 12 ··· 19 18 public function setHandles(array $handles) { 20 19 assert_instances_of($handles, 'PhabricatorObjectHandle'); 21 20 $this->handles = $handles; 22 - return $this; 23 - } 24 - 25 - public function setUser(PhabricatorUser $user) { 26 - $this->user = $user; 27 21 return $this; 28 22 } 29 23
-6
src/applications/maniphest/view/ManiphestTransactionDetailView.php
··· 15 15 16 16 private $renderSummaryOnly; 17 17 private $renderFullSummary; 18 - private $user; 19 18 20 19 private $auxiliaryFields; 21 20 ··· 71 70 72 71 public function setCommentNumber($comment_number) { 73 72 $this->commentNumber = $comment_number; 74 - return $this; 75 - } 76 - 77 - public function setUser(PhabricatorUser $user) { 78 - $this->user = $user; 79 73 return $this; 80 74 } 81 75
-6
src/applications/maniphest/view/ManiphestTransactionListView.php
··· 7 7 8 8 private $transactions; 9 9 private $handles; 10 - private $user; 11 10 private $markupEngine; 12 11 private $preview; 13 12 private $auxiliaryFields; ··· 21 20 public function setHandles(array $handles) { 22 21 assert_instances_of($handles, 'PhabricatorObjectHandle'); 23 22 $this->handles = $handles; 24 - return $this; 25 - } 26 - 27 - public function setUser(PhabricatorUser $user) { 28 - $this->user = $user; 29 23 return $this; 30 24 } 31 25
-6
src/applications/meta/view/PhabricatorApplicationLaunchView.php
··· 2 2 3 3 final class PhabricatorApplicationLaunchView extends AphrontView { 4 4 5 - private $user; 6 5 private $application; 7 6 private $status; 8 7 9 8 public function setApplication(PhabricatorApplication $application) { 10 9 $this->application = $application; 11 - return $this; 12 - } 13 - 14 - public function setUser(PhabricatorUser $user) { 15 - $this->user = $user; 16 10 return $this; 17 11 } 18 12
-7
src/applications/metamta/contentsource/PhabricatorContentSourceView.php
··· 3 3 final class PhabricatorContentSourceView extends AphrontView { 4 4 5 5 private $contentSource; 6 - private $user; 7 6 8 7 public function setContentSource(PhabricatorContentSource $content_source) { 9 8 $this->contentSource = $content_source; 10 9 return $this; 11 10 } 12 - 13 - public function setUser(PhabricatorUser $user) { 14 - $this->user = $user; 15 - return $this; 16 - } 17 - 18 11 19 12 public function render() { 20 13 require_celerity_resource('phabricator-content-source-view-css');
-9
src/applications/phortune/control/PhortuneMonthYearExpiryControl.php
··· 1 1 <?php 2 2 3 3 final class PhortuneMonthYearExpiryControl extends AphrontFormControl { 4 - private $user; 5 4 private $monthValue; 6 5 private $yearValue; 7 - 8 - public function setUser(PhabricatorUser $user) { 9 - $this->user = $user; 10 - return $this; 11 - } 12 - private function getUser() { 13 - return $this->user; 14 - } 15 6 16 7 public function setMonthInputValue($value) { 17 8 $this->monthValue = $value;
-9
src/applications/phortune/stripe/view/PhortuneStripePaymentFormView.php
··· 1 1 <?php 2 2 3 3 final class PhortuneStripePaymentFormView extends AphrontView { 4 - private $user; 5 4 private $stripeKey; 6 5 private $cardNumberError; 7 6 private $cardCVCError; 8 7 private $cardExpirationError; 9 - 10 - public function setUser(PhabricatorUser $user) { 11 - $this->user = $user; 12 - return $this; 13 - } 14 - private function getUser() { 15 - return $this->user; 16 - } 17 8 18 9 public function setStripeKey($key) { 19 10 $this->stripeKey = $key;
-6
src/applications/ponder/view/PonderAddAnswerView.php
··· 3 3 final class PonderAddAnswerView extends AphrontView { 4 4 5 5 private $question; 6 - private $user; 7 6 private $actionURI; 8 7 private $draft; 9 8 10 9 public function setQuestion($question) { 11 10 $this->question = $question; 12 - return $this; 13 - } 14 - 15 - public function setUser(PhabricatorUser $user) { 16 - $this->user = $user; 17 11 return $this; 18 12 } 19 13
-6
src/applications/ponder/view/PonderAddCommentView.php
··· 3 3 final class PonderAddCommentView extends AphrontView { 4 4 5 5 private $target; 6 - private $user; 7 6 private $actionURI; 8 7 private $questionID; 9 8 10 9 public function setTarget($target) { 11 10 $this->target = $target; 12 - return $this; 13 - } 14 - 15 - public function setUser(PhabricatorUser $user) { 16 - $this->user = $user; 17 11 return $this; 18 12 } 19 13
-6
src/applications/ponder/view/PonderAnswerListView.php
··· 4 4 5 5 private $question; 6 6 private $handles; 7 - private $user; 8 7 private $answers; 9 8 10 9 public function setQuestion($question) { ··· 15 14 public function setHandles(array $handles) { 16 15 assert_instances_of($handles, 'PhabricatorObjectHandle'); 17 16 $this->handles = $handles; 18 - return $this; 19 - } 20 - 21 - public function setUser(PhabricatorUser $user) { 22 - $this->user = $user; 23 17 return $this; 24 18 } 25 19
-6
src/applications/ponder/view/PonderCommentListView.php
··· 1 1 <?php 2 2 3 3 final class PonderCommentListView extends AphrontView { 4 - private $user; 5 4 private $handles; 6 5 private $comments; 7 6 private $target; 8 7 private $actionURI; 9 8 private $questionID; 10 - 11 - public function setUser(PhabricatorUser $user) { 12 - $this->user = $user; 13 - return $this; 14 - } 15 9 16 10 public function setHandles(array $handles) { 17 11 assert_instances_of($handles, 'PhabricatorObjectHandle');
-6
src/applications/ponder/view/PonderPostBodyView.php
··· 7 7 private $handles; 8 8 private $preview; 9 9 private $anchorName; 10 - private $user; 11 10 private $action; 12 11 13 12 public function setQuestion($question) { ··· 33 32 34 33 public function setPreview($preview) { 35 34 $this->preview = $preview; 36 - return $this; 37 - } 38 - 39 - public function setUser(PhabricatorUser $user) { 40 - $this->user = $user; 41 35 return $this; 42 36 } 43 37
-6
src/applications/ponder/view/PonderQuestionDetailView.php
··· 3 3 final class PonderQuestionDetailView extends AphrontView { 4 4 5 5 private $question; 6 - private $user; 7 6 private $handles; 8 7 9 8 public function setQuestion($question) { 10 9 $this->question = $question; 11 - return $this; 12 - } 13 - 14 - public function setUser($user) { 15 - $this->user = $user; 16 10 return $this; 17 11 } 18 12
-6
src/applications/ponder/view/PonderQuestionSummaryView.php
··· 1 1 <?php 2 2 3 3 final class PonderQuestionSummaryView extends AphrontView { 4 - private $user; 5 4 private $question; 6 5 private $handles; 7 6 ··· 12 11 13 12 public function setHandles($handles) { 14 13 $this->handles = $handles; 15 - return $this; 16 - } 17 - 18 - public function setUser(PhabricatorUser $user) { 19 - $this->user = $user; 20 14 return $this; 21 15 } 22 16
-6
src/applications/ponder/view/PonderUserProfileView.php
··· 1 1 <?php 2 2 3 3 final class PonderUserProfileView extends AphrontView { 4 - private $user; 5 4 private $questionoffset; 6 5 private $answeroffset; 7 6 private $answers; 8 7 private $pagesize; 9 8 private $uri; 10 9 private $aparam; 11 - 12 - public function setUser(PhabricatorUser $user) { 13 - $this->user = $user; 14 - return $this; 15 - } 16 10 17 11 public function setQuestionOffset($offset) { 18 12 $this->questionoffset = $offset;
-6
src/applications/xhprof/view/PhabricatorXHProfSampleListView.php
··· 3 3 final class PhabricatorXHProfSampleListView extends AphrontView { 4 4 5 5 private $samples; 6 - private $user; 7 6 private $showType = false; 8 7 9 8 public function setSamples(array $samples) { 10 9 assert_instances_of($samples, 'PhabricatorXHProfSample'); 11 10 $this->samples = $samples; 12 - return $this; 13 - } 14 - 15 - public function setUser(PhabricatorUser $user) { 16 - $this->user = $user; 17 11 return $this; 18 12 } 19 13
-6
src/view/AphrontDialogView.php
··· 7 7 private $cancelURI; 8 8 private $cancelText = 'Cancel'; 9 9 private $submitURI; 10 - private $user; 11 10 private $hidden = array(); 12 11 private $class; 13 12 private $renderAsForm = true; ··· 17 16 const WIDTH_DEFAULT = 'default'; 18 17 const WIDTH_FORM = 'form'; 19 18 const WIDTH_FULL = 'full'; 20 - 21 - public function setUser(PhabricatorUser $user) { 22 - $this->user = $user; 23 - return $this; 24 - } 25 19 26 20 public function setSubmitURI($uri) { 27 21 $this->submitURI = $uri;
+10
src/view/AphrontView.php
··· 2 2 3 3 abstract class AphrontView extends Phobject { 4 4 5 + protected $user; 5 6 protected $children = array(); 7 + 8 + public function setUser(PhabricatorUser $user) { 9 + $this->user = $user; 10 + return $this; 11 + } 12 + 13 + protected function getUser() { 14 + return $this->user; 15 + } 6 16 7 17 protected function canAppendChild() { 8 18 return true;
-6
src/view/form/AphrontFormView.php
··· 7 7 private $header; 8 8 private $data = array(); 9 9 private $encType; 10 - private $user; 11 10 private $workflow; 12 11 private $id; 13 12 private $flexible; ··· 20 19 21 20 public function setID($id) { 22 21 $this->id = $id; 23 - return $this; 24 - } 25 - 26 - public function setUser(PhabricatorUser $user) { 27 - $this->user = $user; 28 22 return $this; 29 23 } 30 24
-6
src/view/form/control/AphrontFormDateControl.php
··· 2 2 3 3 final class AphrontFormDateControl extends AphrontFormControl { 4 4 5 - private $user; 6 5 private $initialTime; 7 6 8 7 private $valueDay; ··· 14 13 const TIME_END_OF_DAY = 'end-of-day'; 15 14 const TIME_START_OF_BUSINESS = 'start-of-business'; 16 15 const TIME_END_OF_BUSINESS = 'end-of-business'; 17 - 18 - public function setUser(PhabricatorUser $user) { 19 - $this->user = $user; 20 - return $this; 21 - } 22 16 23 17 public function setInitialTime($time) { 24 18 $this->initialTime = $time;
-10
src/view/form/control/AphrontFormPolicyControl.php
··· 2 2 3 3 final class AphrontFormPolicyControl extends AphrontFormControl { 4 4 5 - private $user; 6 5 private $object; 7 6 private $capability; 8 7 private $policies; 9 - 10 - public function setUser(PhabricatorUser $user) { 11 - $this->user = $user; 12 - return $this; 13 - } 14 - 15 - public function getUser() { 16 - return $this->user; 17 - } 18 8 19 9 public function setPolicyObject(PhabricatorPolicyInterface $object) { 20 10 $this->object = $object;
-6
src/view/form/control/AphrontFormTokenizerControl.php
··· 5 5 private $datasource; 6 6 private $disableBehavior; 7 7 private $limit; 8 - private $user; 9 8 private $placeholder; 10 9 11 10 public function setDatasource($datasource) { ··· 24 23 25 24 public function setLimit($limit) { 26 25 $this->limit = $limit; 27 - return $this; 28 - } 29 - 30 - public function setUser($user) { 31 - $this->user = $user; 32 26 return $this; 33 27 } 34 28
-11
src/view/form/control/PhabricatorRemarkupControl.php
··· 2 2 3 3 final class PhabricatorRemarkupControl extends AphrontFormTextAreaControl { 4 4 5 - private $user; 6 - 7 - public function setUser(PhabricatorUser $user) { 8 - $this->user = $user; 9 - return $this; 10 - } 11 - 12 - public function getUser() { 13 - return $this->user; 14 - } 15 - 16 5 protected function renderInput() { 17 6 $id = $this->getID(); 18 7 if (!$id) {
-6
src/view/layout/AphrontSideNavFilterView.php
··· 23 23 private $selectedFilter = false; 24 24 private $flexNav; 25 25 private $flexible; 26 - private $user; 27 26 private $active; 28 27 private $menu; 29 28 private $crumbs; ··· 50 49 51 50 public function setActive($active) { 52 51 $this->active = $active; 53 - return $this; 54 - } 55 - 56 - public function setUser(PhabricatorUser $user) { 57 - $this->user = $user; 58 52 return $this; 59 53 } 60 54
-6
src/view/layout/PhabricatorActionListView.php
··· 4 4 5 5 private $actions = array(); 6 6 private $object; 7 - private $user; 8 7 9 8 public function setObject(PhabricatorLiskDAO $object) { 10 9 $this->object = $object; 11 - return $this; 12 - } 13 - 14 - public function setUser(PhabricatorUser $user) { 15 - $this->user = $user; 16 10 return $this; 17 11 } 18 12
-6
src/view/layout/PhabricatorActionView.php
··· 3 3 final class PhabricatorActionView extends AphrontView { 4 4 5 5 private $name; 6 - private $user; 7 6 private $icon; 8 7 private $href; 9 8 private $disabled; ··· 37 36 38 37 public function setRenderAsForm($form) { 39 38 $this->renderAsForm = $form; 40 - return $this; 41 - } 42 - 43 - public function setUser(PhabricatorUser $user) { 44 - $this->user = $user; 45 39 return $this; 46 40 } 47 41
-6
src/view/layout/PhabricatorTransactionView.php
··· 2 2 3 3 final class PhabricatorTransactionView extends AphrontView { 4 4 5 - private $user; 6 5 private $imageURI; 7 6 private $actions = array(); 8 7 private $epoch; ··· 11 10 private $anchorText; 12 11 private $isPreview; 13 12 private $classes = array(); 14 - 15 - public function setUser(PhabricatorUser $user) { 16 - $this->user = $user; 17 - return $this; 18 - } 19 13 20 14 public function setImageURI($uri) { 21 15 $this->imageURI = $uri;
-6
src/view/layout/headsup/AphrontHeadsupActionView.php
··· 7 7 private $uri; 8 8 private $workflow; 9 9 private $instant; 10 - private $user; 11 10 12 11 public function setName($name) { 13 12 $this->name = $name; ··· 31 30 32 31 public function setInstant($instant) { 33 32 $this->instant = $instant; 34 - return $this; 35 - } 36 - 37 - public function setUser($user) { 38 - $this->user = $user; 39 33 return $this; 40 34 } 41 35
-6
src/view/page/menu/PhabricatorMainMenuSearchView.php
··· 2 2 3 3 final class PhabricatorMainMenuSearchView extends AphrontView { 4 4 5 - private $user; 6 5 private $scope; 7 6 private $id; 8 - 9 - public function setUser(PhabricatorUser $user) { 10 - $this->user = $user; 11 - return $this; 12 - } 13 7 14 8 public function setScope($scope) { 15 9 $this->scope = $scope;
-10
src/view/page/menu/PhabricatorMainMenuView.php
··· 2 2 3 3 final class PhabricatorMainMenuView extends AphrontView { 4 4 5 - private $user; 6 5 private $defaultSearchScope; 7 6 private $controller; 8 7 private $applicationMenu; ··· 32 31 33 32 public function getDefaultSearchScope() { 34 33 return $this->defaultSearchScope; 35 - } 36 - 37 - public function setUser(PhabricatorUser $user) { 38 - $this->user = $user; 39 - return $this; 40 - } 41 - 42 - public function getUser() { 43 - return $this->user; 44 34 } 45 35 46 36 public function render() {