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

« back to all changes in this revision

Viewing changes to phabricator/src/applications/auth/phid/PhabricatorAuthInvitePHIDType.php

  • Committer: Package Import Robot
  • Author(s): Richard Sellam
  • Date: 2015-02-11 14:13:38 UTC
  • mfrom: (0.18.1) (0.17.1) (0.13.2) (2.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20150211141338-7t6wkyisc5b04ww5
Tags: 0~git20150211-1
* New snapshot release
* updated german translation
* fixed daemons not starting with unprivileged user

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
final class PhabricatorAuthInvitePHIDType extends PhabricatorPHIDType {
 
4
 
 
5
  const TYPECONST = 'AINV';
 
6
 
 
7
  public function getTypeName() {
 
8
    return pht('Auth Invite');
 
9
  }
 
10
 
 
11
  public function newObject() {
 
12
    return new PhabricatorAuthInvite();
 
13
  }
 
14
 
 
15
  protected function buildQueryForObjects(
 
16
    PhabricatorObjectQuery $query,
 
17
    array $phids) {
 
18
    throw new PhutilMethodNotImplementedException();
 
19
  }
 
20
 
 
21
  public function loadHandles(
 
22
    PhabricatorHandleQuery $query,
 
23
    array $handles,
 
24
    array $objects) {
 
25
 
 
26
    foreach ($handles as $phid => $handle) {
 
27
      $invite = $objects[$phid];
 
28
    }
 
29
  }
 
30
 
 
31
}