~ubuntu-branches/ubuntu/wily/phabricator/wily

« back to all changes in this revision

Viewing changes to phabricator/src/applications/search/field/PhabricatorSearchOwnersField.php

  • Committer: Package Import Robot
  • Author(s): Richard Sellam
  • Date: 2015-06-13 10:52:10 UTC
  • mfrom: (0.30.1) (0.29.1) (0.17.4) (2.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20150613105210-5uirr7tvnk0n6e6y
Tags: 0~git20150613-1
* New snapshot release (closes: #787805)
* fixed typo in logrotate script (closes: #787645)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
final class PhabricatorSearchOwnersField
 
4
  extends PhabricatorSearchTokenizerField {
 
5
 
 
6
  protected function getDefaultValue() {
 
7
    return array();
 
8
  }
 
9
 
 
10
  protected function getValueFromRequest(AphrontRequest $request, $key) {
 
11
    return $this->getUsersFromRequest($request, $key);
 
12
  }
 
13
 
 
14
  protected function newDatasource() {
 
15
    return new PhabricatorPeopleOwnerDatasource();
 
16
  }
 
17
 
 
18
}