[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/differential/landing/ -> DifferentialLandingStrategy.php (summary)

(no description)

File Size: 83 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  createActionView()
  isActionDisabled()
  getGitWorkspace()
  getMercurialWorkspace()

Functions
Functions that are not part of a class:

createActionView($revision, $name)   X-Ref

return: PhabricatorActionView which can be attached to the revision view.

isActionDisabled(PhabricatorUser $viewer,DifferentialRevision $revision,PhabricatorRepository $repository)   X-Ref
Check if this action should be disabled, and explain why.

By default, this method checks for push permissions, and for the
revision being Accepted.

return: False for "not disabled"; human-readable text explaining why, if

getGitWorkspace(PhabricatorRepository $repository)   X-Ref
Might break if repository is not Git.


getMercurialWorkspace(PhabricatorRepository $repository)   X-Ref
Might break if repository is not Mercurial.




Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1