repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/packages/phid/PhabricatorPackagesVersionPHIDType.php | src/applications/packages/phid/PhabricatorPackagesVersionPHIDType.php | <?php
final class PhabricatorPackagesVersionPHIDType
extends PhabricatorPHIDType {
const TYPECONST = 'PVER';
public function getTypeName() {
return pht('Version');
}
public function newObject() {
return new PhabricatorPackagesVersion();
}
public function getPHIDTypeApplicationClass() {
re... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/packages/phid/PhabricatorPackagesPublisherPHIDType.php | src/applications/packages/phid/PhabricatorPackagesPublisherPHIDType.php | <?php
final class PhabricatorPackagesPublisherPHIDType
extends PhabricatorPHIDType {
const TYPECONST = 'PPUB';
public function getTypeName() {
return pht('Package Publisher');
}
public function newObject() {
return new PhabricatorPackagesPublisher();
}
public function getPHIDTypeApplicationCl... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/packages/conduit/PhabricatorPackagesVersionEditConduitAPIMethod.php | src/applications/packages/conduit/PhabricatorPackagesVersionEditConduitAPIMethod.php | <?php
final class PhabricatorPackagesVersionEditConduitAPIMethod
extends PhabricatorEditEngineAPIMethod {
public function getAPIMethodName() {
return 'packages.version.edit';
}
public function newEditEngine() {
return new PhabricatorPackagesVersionEditEngine();
}
public function getMethodSummary... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/packages/conduit/PhabricatorPackagesPublisherSearchConduitAPIMethod.php | src/applications/packages/conduit/PhabricatorPackagesPublisherSearchConduitAPIMethod.php | <?php
final class PhabricatorPackagesPublisherSearchConduitAPIMethod
extends PhabricatorSearchEngineAPIMethod {
public function getAPIMethodName() {
return 'packages.publisher.search';
}
public function newSearchEngine() {
return new PhabricatorPackagesPublisherSearchEngine();
}
public function ... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/packages/conduit/PhabricatorPackagesVersionSearchConduitAPIMethod.php | src/applications/packages/conduit/PhabricatorPackagesVersionSearchConduitAPIMethod.php | <?php
final class PhabricatorPackagesVersionSearchConduitAPIMethod
extends PhabricatorSearchEngineAPIMethod {
public function getAPIMethodName() {
return 'packages.version.search';
}
public function newSearchEngine() {
return new PhabricatorPackagesVersionSearchEngine();
}
public function getMet... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/packages/conduit/PhabricatorPackagesPublisherEditConduitAPIMethod.php | src/applications/packages/conduit/PhabricatorPackagesPublisherEditConduitAPIMethod.php | <?php
final class PhabricatorPackagesPublisherEditConduitAPIMethod
extends PhabricatorEditEngineAPIMethod {
public function getAPIMethodName() {
return 'packages.publisher.edit';
}
public function newEditEngine() {
return new PhabricatorPackagesPublisherEditEngine();
}
public function getMethodS... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/packages/conduit/PhabricatorPackagesPackageSearchConduitAPIMethod.php | src/applications/packages/conduit/PhabricatorPackagesPackageSearchConduitAPIMethod.php | <?php
final class PhabricatorPackagesPackageSearchConduitAPIMethod
extends PhabricatorSearchEngineAPIMethod {
public function getAPIMethodName() {
return 'packages.package.search';
}
public function newSearchEngine() {
return new PhabricatorPackagesPackageSearchEngine();
}
public function getMet... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/packages/conduit/PhabricatorPackagesPackageEditConduitAPIMethod.php | src/applications/packages/conduit/PhabricatorPackagesPackageEditConduitAPIMethod.php | <?php
final class PhabricatorPackagesPackageEditConduitAPIMethod
extends PhabricatorEditEngineAPIMethod {
public function getAPIMethodName() {
return 'packages.package.edit';
}
public function newEditEngine() {
return new PhabricatorPackagesPackageEditEngine();
}
public function getMethodSummary... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/packages/typeahead/PhabricatorPackagesPackageDatasource.php | src/applications/packages/typeahead/PhabricatorPackagesPackageDatasource.php | <?php
final class PhabricatorPackagesPackageDatasource
extends PhabricatorTypeaheadDatasource {
public function getBrowseTitle() {
return pht('Browse Packages');
}
public function getPlaceholderText() {
return pht('Type a package name...');
}
public function getDatasourceApplicationClass() {
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/packages/typeahead/PhabricatorPackagesPublisherDatasource.php | src/applications/packages/typeahead/PhabricatorPackagesPublisherDatasource.php | <?php
final class PhabricatorPackagesPublisherDatasource
extends PhabricatorTypeaheadDatasource {
public function getBrowseTitle() {
return pht('Browse Package Publishers');
}
public function getPlaceholderText() {
return pht('Type a publisher name...');
}
public function getDatasourceApplicatio... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/packages/capability/PhabricatorPackagesPackageDefaultViewCapability.php | src/applications/packages/capability/PhabricatorPackagesPackageDefaultViewCapability.php | <?php
final class PhabricatorPackagesPackageDefaultViewCapability
extends PhabricatorPolicyCapability {
const CAPABILITY = 'packages.package.default.view';
public function getCapabilityName() {
return pht('Default Package View Policy');
}
public function shouldAllowPublicPolicySetting() {
return t... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/packages/capability/PhabricatorPackagesPackageDefaultEditCapability.php | src/applications/packages/capability/PhabricatorPackagesPackageDefaultEditCapability.php | <?php
final class PhabricatorPackagesPackageDefaultEditCapability
extends PhabricatorPolicyCapability {
const CAPABILITY = 'packages.package.default.edit';
public function getCapabilityName() {
return pht('Default Package Edit Policy');
}
}
| php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/packages/capability/PhabricatorPackagesPublisherDefaultEditCapability.php | src/applications/packages/capability/PhabricatorPackagesPublisherDefaultEditCapability.php | <?php
final class PhabricatorPackagesPublisherDefaultEditCapability
extends PhabricatorPolicyCapability {
const CAPABILITY = 'packages.publisher.default.edit';
public function getCapabilityName() {
return pht('Default Publisher Edit Policy');
}
}
| php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/packages/capability/PhabricatorPackagesCreatePublisherCapability.php | src/applications/packages/capability/PhabricatorPackagesCreatePublisherCapability.php | <?php
final class PhabricatorPackagesCreatePublisherCapability
extends PhabricatorPolicyCapability {
const CAPABILITY = 'packages.publisher.create';
public function getCapabilityName() {
return pht('Can Create Publishers');
}
public function describeCapabilityRejection() {
return pht('You do not h... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/controller/PhabricatorUIExampleRenderController.php | src/applications/uiexample/controller/PhabricatorUIExampleRenderController.php | <?php
final class PhabricatorUIExampleRenderController extends PhabricatorController {
public function shouldAllowPublic() {
return true;
}
public function handleRequest(AphrontRequest $request) {
$id = $request->getURIData('class');
$classes = id(new PhutilClassMapQuery())
->setAncestorClas... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/application/PhabricatorUIExamplesApplication.php | src/applications/uiexample/application/PhabricatorUIExamplesApplication.php | <?php
final class PhabricatorUIExamplesApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/uiexample/';
}
public function getShortDescription() {
return pht('Developer UI Examples');
}
public function getName() {
return pht('UIExamples');
}
public function... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUIObjectItemListExample.php | src/applications/uiexample/examples/PHUIObjectItemListExample.php | <?php
final class PHUIObjectItemListExample extends PhabricatorUIExample {
public function getName() {
return pht('Object Item List');
}
public function getDescription() {
return pht(
'Use %s to render lists of objects.',
hsprintf('<tt>PHUIObjectItemListView</tt>'));
}
public function ... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUIButtonBarExample.php | src/applications/uiexample/examples/PHUIButtonBarExample.php | <?php
final class PHUIButtonBarExample extends PhabricatorUIExample {
public function getName() {
return pht('Button Bar');
}
public function getDescription() {
return pht('A minimal UI for Buttons');
}
public function renderExample() {
$request = $this->getRequest();
$user = $request->get... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUIIconExample.php | src/applications/uiexample/examples/PHUIIconExample.php | <?php
final class PHUIIconExample extends PhabricatorUIExample {
public function getName() {
return pht('Icons and Images');
}
public function getDescription() {
return pht('Easily render icons or images with links and sprites.');
}
public function getCategory() {
return pht('Catalogs');
}
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PhabricatorNotificationUIExample.php | src/applications/uiexample/examples/PhabricatorNotificationUIExample.php | <?php
final class PhabricatorNotificationUIExample extends PhabricatorUIExample {
public function getName() {
return pht('Notifications');
}
public function getDescription() {
return pht(
'Use %s to create notifications.',
phutil_tag('tt', array(), 'JX.Notification'));
}
public functio... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUIButtonExample.php | src/applications/uiexample/examples/PHUIButtonExample.php | <?php
final class PHUIButtonExample extends PhabricatorUIExample {
public function getName() {
return pht('Buttons');
}
public function getDescription() {
return pht(
'Use %s to render buttons.',
phutil_tag('tt', array(), '<button>'));
}
public function renderExample() {
$req... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PhabricatorMultiColumnUIExample.php | src/applications/uiexample/examples/PhabricatorMultiColumnUIExample.php | <?php
final class PhabricatorMultiColumnUIExample extends PhabricatorUIExample {
public function getName() {
return pht('Multiple Column Layouts');
}
public function getDescription() {
return pht(
'A container good for 1-7 equally spaced columns. '.
'Fixed and Fluid layouts.');
}
publi... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUIBadgeExample.php | src/applications/uiexample/examples/PHUIBadgeExample.php | <?php
final class PHUIBadgeExample extends PhabricatorUIExample {
public function getName() {
return pht('Badge');
}
public function getDescription() {
return pht('Celebrate the moments of your life.');
}
public function getCategory() {
return pht('Single Use');
}
public function renderEx... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PhabricatorUIExample.php | src/applications/uiexample/examples/PhabricatorUIExample.php | <?php
abstract class PhabricatorUIExample extends Phobject {
private $request;
public function setRequest($request) {
$this->request = $request;
return $this;
}
public function getRequest() {
return $this->request;
}
abstract public function getName();
abstract public function getDescript... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUIXComponentsExample.php | src/applications/uiexample/examples/PHUIXComponentsExample.php | <?php
final class PHUIXComponentsExample extends PhabricatorUIExample {
public function getName() {
return pht('PHUIX Components');
}
public function getDescription() {
return pht('Copy/paste to make design maintenance twice as difficult.');
}
public function getCategory() {
return pht('PHUIX'... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUIHovercardUIExample.php | src/applications/uiexample/examples/PHUIHovercardUIExample.php | <?php
final class PHUIHovercardUIExample extends PhabricatorUIExample {
public function getName() {
return pht('Hovercard');
}
public function getDescription() {
return pht(
'Use %s to render hovercards.',
phutil_tag('tt', array(), 'PHUIHovercardView'));
}
public function getCategory()... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUIBigInfoExample.php | src/applications/uiexample/examples/PHUIBigInfoExample.php | <?php
final class PHUIBigInfoExample extends PhabricatorUIExample {
public function getName() {
return pht('Big Info View');
}
public function getDescription() {
return pht(
'Basic New User State information block.');
}
public function renderExample() {
$request = $this->getRequest();
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PhabricatorProjectBuiltinsExample.php | src/applications/uiexample/examples/PhabricatorProjectBuiltinsExample.php | <?php
final class PhabricatorProjectBuiltinsExample extends PhabricatorUIExample {
public function getName() {
return pht('Project Builtin Images');
}
public function getDescription() {
return pht('Builtin Project Images.');
}
public function getCategory() {
return pht('Catalogs');
}
publ... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PhabricatorSetupIssueUIExample.php | src/applications/uiexample/examples/PhabricatorSetupIssueUIExample.php | <?php
final class PhabricatorSetupIssueUIExample extends PhabricatorUIExample {
public function getName() {
return pht('Setup Issue');
}
public function getDescription() {
return pht('Setup errors and warnings.');
}
public function getCategory() {
return pht('Single Use');
}
public functi... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUIFeedStoryExample.php | src/applications/uiexample/examples/PHUIFeedStoryExample.php | <?php
final class PHUIFeedStoryExample extends PhabricatorUIExample {
public function getName() {
return pht('Feed Story');
}
public function getDescription() {
return pht(
'An outlandish exaggeration of intricate tales from around the realm.');
}
public function getCategory() {
return p... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUITypeaheadExample.php | src/applications/uiexample/examples/PHUITypeaheadExample.php | <?php
final class PHUITypeaheadExample extends PhabricatorUIExample {
public function getName() {
return pht('Typeaheads');
}
public function getDescription() {
return pht('Typeaheads, tokenizers and tokens.');
}
public function renderExample() {
$token_list = array();
$token_list[] = id... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUIColorPalletteExample.php | src/applications/uiexample/examples/PHUIColorPalletteExample.php | <?php
final class PHUIColorPalletteExample extends PhabricatorUIExample {
public function getName() {
return pht('Colors');
}
public function getDescription() {
return pht('A Standard Palette of Colors for use.');
}
public function getCategory() {
return pht('Catalogs');
}
public function... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUIPropertyListExample.php | src/applications/uiexample/examples/PHUIPropertyListExample.php | <?php
final class PHUIPropertyListExample extends PhabricatorUIExample {
public function getName() {
return pht('Property List');
}
public function getDescription() {
return pht(
'Use %s to render object properties.',
phutil_tag('tt', array(), 'PHUIPropertyListView'));
}
public functio... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUIInfoExample.php | src/applications/uiexample/examples/PHUIInfoExample.php | <?php
final class PHUIInfoExample extends PhabricatorUIExample {
public function getName() {
return pht('Info View');
}
public function getDescription() {
return pht(
'Use %s to render errors, warnings and notices.',
phutil_tag('tt', array(), 'PHUIInfoView'));
}
public function renderE... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUILeftRightExample.php | src/applications/uiexample/examples/PHUILeftRightExample.php | <?php
final class PHUILeftRightExample extends PhabricatorUIExample {
public function getName() {
return pht('Responsive left-right table');
}
public function getDescription() {
return pht('Allows easily alignment of left/right UI elements.');
}
public function renderExample() {
$request = $th... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PhabricatorGestureUIExample.php | src/applications/uiexample/examples/PhabricatorGestureUIExample.php | <?php
final class PhabricatorGestureUIExample extends PhabricatorUIExample {
public function getName() {
return pht('Gestures');
}
public function getDescription() {
return pht(
'Use %s to listen for gesture events. Note that you '.
'must be in device mode for this to work (you can narrow y... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUIImageMaskExample.php | src/applications/uiexample/examples/PHUIImageMaskExample.php | <?php
final class PHUIImageMaskExample extends PhabricatorUIExample {
public function getName() {
return pht('Image Masks');
}
public function getDescription() {
return pht('Display images with crops.');
}
public function renderExample() {
$image = celerity_get_resource_uri('/rsrc/image/exampl... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PhabricatorPagerUIExample.php | src/applications/uiexample/examples/PhabricatorPagerUIExample.php | <?php
final class PhabricatorPagerUIExample extends PhabricatorUIExample {
public function getName() {
return pht('Pager');
}
public function getDescription() {
return pht(
'Use %s to create a control which allows '.
'users to paginate through large amounts of content.',
phutil_tag('t... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/MacroEmojiExample.php | src/applications/uiexample/examples/MacroEmojiExample.php | <?php
final class MacroEmojiExample extends PhabricatorUIExample {
public function getName() {
return pht('Emoji');
}
public function getDescription() {
return pht('Shiny happy people holding hands.');
}
public function getCategory() {
return pht('Catalogs');
}
public function renderExamp... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PhabricatorStatusUIExample.php | src/applications/uiexample/examples/PhabricatorStatusUIExample.php | <?php
final class PhabricatorStatusUIExample extends PhabricatorUIExample {
public function getName() {
return pht('Status List');
}
public function getDescription() {
return pht(
'Use %s to show relationships with objects.',
phutil_tag('tt', array(), 'PHUIStatusListView'));
}
public f... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUITimelineExample.php | src/applications/uiexample/examples/PHUITimelineExample.php | <?php
final class PHUITimelineExample extends PhabricatorUIExample {
public function getName() {
return pht('Timeline View');
}
public function getDescription() {
return pht(
'Use %s to comments and transactions.',
hsprintf('<tt>PHUITimelineView</tt>'));
}
public function renderExample(... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PhabricatorAphrontBarUIExample.php | src/applications/uiexample/examples/PhabricatorAphrontBarUIExample.php | <?php
final class PhabricatorAphrontBarUIExample extends PhabricatorUIExample {
public function getName() {
return pht('Bars');
}
public function getDescription() {
return pht('Like fractions, but more horizontal.');
}
public function renderExample() {
$out = array();
$out[] = $this->rende... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUIActionPanelExample.php | src/applications/uiexample/examples/PHUIActionPanelExample.php | <?php
final class PHUIActionPanelExample extends PhabricatorUIExample {
public function getName() {
return pht('Action Panel');
}
public function getDescription() {
return pht('A panel with strong tendencies for inciting ACTION!');
}
public function renderExample() {
$viewer = $this->getReques... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUITagExample.php | src/applications/uiexample/examples/PHUITagExample.php | <?php
final class PHUITagExample extends PhabricatorUIExample {
public function getName() {
return pht('Tags');
}
public function getDescription() {
return pht(
'Use %s to render various tags.',
phutil_tag('tt', array(), 'PHUITagView'));
}
public function renderExample() {
$intro =... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PhabricatorRemarkupUIExample.php | src/applications/uiexample/examples/PhabricatorRemarkupUIExample.php | <?php
final class PhabricatorRemarkupUIExample extends PhabricatorUIExample {
public function getName() {
return pht('Remarkup');
}
public function getDescription() {
return pht(
'Demonstrates the visual appearance of various Remarkup elements.');
}
public function getCategory() {
return... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUIListExample.php | src/applications/uiexample/examples/PHUIListExample.php | <?php
final class PHUIListExample extends PhabricatorUIExample {
public function getName() {
return pht('Lists');
}
public function getDescription() {
return pht('Create a fanciful list of objects and prismatic donuts.');
}
public function renderExample() {
/* Action Menu */
$action1 = id... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/uiexample/examples/PHUIBoxExample.php | src/applications/uiexample/examples/PHUIBoxExample.php | <?php
final class PHUIBoxExample extends PhabricatorUIExample {
public function getName() {
return pht('Box');
}
public function getDescription() {
return pht("It's a fancy or non-fancy box. Put stuff in it.");
}
public function renderExample() {
$content1 = 'Asmund and Signy';
$content2 ... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/controller/PhabricatorApplicationDetailViewController.php | src/applications/meta/controller/PhabricatorApplicationDetailViewController.php | <?php
final class PhabricatorApplicationDetailViewController
extends PhabricatorApplicationsController {
public function shouldAllowPublic() {
return true;
}
public function handleRequest(AphrontRequest $request) {
$viewer = $this->getViewer();
$application = $request->getURIData('application');... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/controller/PhabricatorApplicationPanelController.php | src/applications/meta/controller/PhabricatorApplicationPanelController.php | <?php
final class PhabricatorApplicationPanelController
extends PhabricatorApplicationsController {
private $application;
public function handleRequest(AphrontRequest $request) {
$viewer = $this->getViewer();
$application = $request->getURIData('application');
$panel_key = $request->getURIData('pa... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/controller/PhabricatorApplicationEditController.php | src/applications/meta/controller/PhabricatorApplicationEditController.php | <?php
final class PhabricatorApplicationEditController
extends PhabricatorApplicationsController {
public function handleRequest(AphrontRequest $request) {
$user = $request->getUser();
$application = $request->getURIData('application');
$application = id(new PhabricatorApplicationQuery())
->set... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/controller/PhabricatorApplicationsListController.php | src/applications/meta/controller/PhabricatorApplicationsListController.php | <?php
final class PhabricatorApplicationsListController
extends PhabricatorApplicationsController {
public function shouldAllowPublic() {
return true;
}
public function handleRequest(AphrontRequest $request) {
$controller = id(new PhabricatorApplicationSearchController())
->setQueryKey($request... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/controller/PhabricatorApplicationUninstallController.php | src/applications/meta/controller/PhabricatorApplicationUninstallController.php | <?php
final class PhabricatorApplicationUninstallController
extends PhabricatorApplicationsController {
public function handleRequest(AphrontRequest $request) {
$viewer = $request->getViewer();
$user = $request->getUser();
$action = $request->getURIData('action');
$application_name = $request->get... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/controller/PhabricatorApplicationEmailCommandsController.php | src/applications/meta/controller/PhabricatorApplicationEmailCommandsController.php | <?php
final class PhabricatorApplicationEmailCommandsController
extends PhabricatorApplicationsController {
public function shouldAllowPublic() {
return true;
}
public function handleRequest(AphrontRequest $request) {
$viewer = $this->getViewer();
$application = $request->getURIData('application'... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/controller/PhabricatorApplicationsController.php | src/applications/meta/controller/PhabricatorApplicationsController.php | <?php
abstract class PhabricatorApplicationsController extends PhabricatorController {
public function buildSideNavView($for_app = false) {
$user = $this->getRequest()->getUser();
$nav = new AphrontSideNavFilterView();
$nav->setBaseURI(new PhutilURI($this->getApplicationURI()));
id(new Phabricator... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/engineextension/PhabricatorDatasourceApplicationEngineExtension.php | src/applications/meta/engineextension/PhabricatorDatasourceApplicationEngineExtension.php | <?php
final class PhabricatorDatasourceApplicationEngineExtension
extends PhabricatorDatasourceEngineExtension {
public function newQuickSearchDatasources() {
return array(
new PhabricatorApplicationDatasource(),
);
}
}
| php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/engineextension/PhabricatorSelfHyperlinkEngineExtension.php | src/applications/meta/engineextension/PhabricatorSelfHyperlinkEngineExtension.php | <?php
final class PhabricatorSelfHyperlinkEngineExtension
extends PhabricatorRemarkupHyperlinkEngineExtension {
const LINKENGINEKEY = 'phabricator-self';
public function processHyperlinks(array $hyperlinks) {
$engine = $this->getEngine();
$viewer = $engine->getConfig('viewer');
// If we don't have... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/engineextension/PhabricatorDatasourceURIEngineExtension.php | src/applications/meta/engineextension/PhabricatorDatasourceURIEngineExtension.php | <?php
final class PhabricatorDatasourceURIEngineExtension
extends PhabricatorDatasourceEngineExtension {
public function newQuickSearchDatasources() {
return array();
}
public function newJumpURI($query) {
// If you search for a URI on the local install, just redirect to that
// URI as though you... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/storage/PhabricatorApplicationSchemaSpec.php | src/applications/meta/storage/PhabricatorApplicationSchemaSpec.php | <?php
final class PhabricatorApplicationSchemaSpec
extends PhabricatorConfigSchemaSpec {
public function buildSchemata() {
$this->buildEdgeSchemata(new PhabricatorApplicationsApplication());
}
}
| php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/storage/PhabricatorApplicationApplicationTransaction.php | src/applications/meta/storage/PhabricatorApplicationApplicationTransaction.php | <?php
final class PhabricatorApplicationApplicationTransaction
extends PhabricatorModularTransaction {
public function getApplicationName() {
return 'application';
}
public function getApplicationTransactionType() {
return PhabricatorApplicationApplicationPHIDType::TYPECONST;
}
public function g... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/query/PhabricatorApplicationApplicationTransactionQuery.php | src/applications/meta/query/PhabricatorApplicationApplicationTransactionQuery.php | <?php
final class PhabricatorApplicationApplicationTransactionQuery
extends PhabricatorApplicationTransactionQuery {
public function getTemplateApplicationTransaction() {
return new PhabricatorApplicationApplicationTransaction();
}
}
| php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/query/PhabricatorApplicationQuery.php | src/applications/meta/query/PhabricatorApplicationQuery.php | <?php
final class PhabricatorApplicationQuery
extends PhabricatorCursorPagedPolicyAwareQuery {
private $installed;
private $prototypes;
private $firstParty;
private $nameContains;
private $unlisted;
private $classes;
private $launchable;
private $applicationEmailSupport;
private $phids;
const O... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/query/PhabricatorAppSearchEngine.php | src/applications/meta/query/PhabricatorAppSearchEngine.php | <?php
final class PhabricatorAppSearchEngine
extends PhabricatorApplicationSearchEngine {
public function getResultTypeDescription() {
return pht('Applications');
}
public function getApplicationClassName() {
return 'PhabricatorApplicationsApplication';
}
public function getPageSize(PhabricatorS... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/editor/PhabricatorApplicationEditEngine.php | src/applications/meta/editor/PhabricatorApplicationEditEngine.php | <?php
final class PhabricatorApplicationEditEngine
extends PhabricatorEditEngine {
const ENGINECONST = 'application.application';
public function getEngineApplicationClass() {
return 'PhabricatorApplicationsApplication';
}
public function getEngineName() {
return pht('Applications');
}
public... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/editor/PhabricatorApplicationEditor.php | src/applications/meta/editor/PhabricatorApplicationEditor.php | <?php
final class PhabricatorApplicationEditor
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
return 'PhabricatorApplicationsApplication';
}
public function getEditorObjectsDescription() {
return pht('Application');
}
protected function supportsSe... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/panel/PhabricatorApplicationConfigurationPanel.php | src/applications/meta/panel/PhabricatorApplicationConfigurationPanel.php | <?php
abstract class PhabricatorApplicationConfigurationPanel
extends Phobject {
private $viewer;
private $application;
public function setViewer(PhabricatorUser $viewer) {
$this->viewer = $viewer;
return $this;
}
public function getViewer() {
return $this->viewer;
}
public function set... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/panel/__tests__/PhabricatorApplicationConfigurationPanelTestCase.php | src/applications/meta/panel/__tests__/PhabricatorApplicationConfigurationPanelTestCase.php | <?php
final class PhabricatorApplicationConfigurationPanelTestCase
extends PhabricatorTestCase {
public function testLoadAllPanels() {
PhabricatorApplicationConfigurationPanel::loadAllPanels();
$this->assertTrue(true);
}
}
| php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/application/PhabricatorApplicationsApplication.php | src/applications/meta/application/PhabricatorApplicationsApplication.php | <?php
final class PhabricatorApplicationsApplication extends PhabricatorApplication {
public function getName() {
return pht('Applications');
}
public function canUninstall() {
return false;
}
public function isLaunchable() {
// This application is launchable in the traditional sense, but show... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/phid/PhabricatorApplicationApplicationPHIDType.php | src/applications/meta/phid/PhabricatorApplicationApplicationPHIDType.php | <?php
final class PhabricatorApplicationApplicationPHIDType
extends PhabricatorPHIDType {
const TYPECONST = 'APPS';
public function getTypeName() {
return pht('Application');
}
public function getTypeIcon() {
return 'fa-globe';
}
public function newObject() {
return null;
}
public fu... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/typeahead/PhabricatorApplicationDatasource.php | src/applications/meta/typeahead/PhabricatorApplicationDatasource.php | <?php
final class PhabricatorApplicationDatasource
extends PhabricatorTypeaheadDatasource {
public function getBrowseTitle() {
return pht('Browse Applications');
}
public function getPlaceholderText() {
return pht('Type an application name...');
}
public function getDatasourceApplicationClass() ... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/xactions/PhabricatorApplicationUninstallTransaction.php | src/applications/meta/xactions/PhabricatorApplicationUninstallTransaction.php | <?php
final class PhabricatorApplicationUninstallTransaction
extends PhabricatorApplicationTransactionType {
const TRANSACTIONTYPE = 'application.uninstall';
public function generateOldValue($object) {
$key = 'phabricator.uninstalled-applications';
$config_entry = PhabricatorConfigEntry::loadConfigEntr... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/xactions/PhabricatorApplicationPolicyChangeTransaction.php | src/applications/meta/xactions/PhabricatorApplicationPolicyChangeTransaction.php | <?php
final class PhabricatorApplicationPolicyChangeTransaction
extends PhabricatorApplicationTransactionType {
const TRANSACTIONTYPE = 'application.policy';
const METADATA_ATTRIBUTE = 'capability.name';
private $policies;
public function generateOldValue($object) {
$application = $object;
$capabi... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/meta/xactions/PhabricatorApplicationTransactionType.php | src/applications/meta/xactions/PhabricatorApplicationTransactionType.php | <?php
abstract class PhabricatorApplicationTransactionType
extends PhabricatorModularTransactionType {}
| php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/controller/PhabricatorPolicyController.php | src/applications/policy/controller/PhabricatorPolicyController.php | <?php
abstract class PhabricatorPolicyController extends PhabricatorController {}
| php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/controller/PhabricatorPolicyEditController.php | src/applications/policy/controller/PhabricatorPolicyEditController.php | <?php
final class PhabricatorPolicyEditController
extends PhabricatorPolicyController {
public function handleRequest(AphrontRequest $request) {
$viewer = $this->getViewer();
$object_phid = $request->getURIData('objectPHID');
if ($object_phid) {
$object = id(new PhabricatorObjectQuery())
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/controller/PhabricatorPolicyExplainController.php | src/applications/policy/controller/PhabricatorPolicyExplainController.php | <?php
final class PhabricatorPolicyExplainController
extends PhabricatorPolicyController {
public function shouldAllowPublic() {
return true;
}
public function handleRequest(AphrontRequest $request) {
$viewer = $this->getViewer();
$phid = $request->getURIData('phid');
$capability = $request-... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/engineextension/PhabricatorPolicySearchEngineExtension.php | src/applications/policy/engineextension/PhabricatorPolicySearchEngineExtension.php | <?php
final class PhabricatorPolicySearchEngineExtension
extends PhabricatorSearchEngineExtension {
const EXTENSIONKEY = 'policy';
public function isExtensionEnabled() {
return true;
}
public function getExtensionName() {
return pht('Support for Policies');
}
public function supportsObject($o... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/storage/PhabricatorPolicy.php | src/applications/policy/storage/PhabricatorPolicy.php | <?php
final class PhabricatorPolicy
extends PhabricatorPolicyDAO
implements
PhabricatorPolicyInterface,
PhabricatorDestructibleInterface {
const ACTION_ALLOW = 'allow';
const ACTION_DENY = 'deny';
private $name;
private $shortName;
private $type;
private $href;
private $workflow;
private ... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/storage/PhabricatorPolicyDAO.php | src/applications/policy/storage/PhabricatorPolicyDAO.php | <?php
abstract class PhabricatorPolicyDAO extends PhabricatorLiskDAO {
public function getApplicationName() {
return 'policy';
}
}
| php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/management/PhabricatorPolicyManagementUnlockWorkflow.php | src/applications/policy/management/PhabricatorPolicyManagementUnlockWorkflow.php | <?php
final class PhabricatorPolicyManagementUnlockWorkflow
extends PhabricatorPolicyManagementWorkflow {
protected function didConstruct() {
$this
->setName('unlock')
->setSynopsis(
pht(
'Unlock one or more objects by changing their view policies, edit '.
'policies, or... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/management/PhabricatorPolicyManagementWorkflow.php | src/applications/policy/management/PhabricatorPolicyManagementWorkflow.php | <?php
abstract class PhabricatorPolicyManagementWorkflow
extends PhabricatorManagementWorkflow {}
| php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/management/PhabricatorPolicyManagementShowWorkflow.php | src/applications/policy/management/PhabricatorPolicyManagementShowWorkflow.php | <?php
final class PhabricatorPolicyManagementShowWorkflow
extends PhabricatorPolicyManagementWorkflow {
protected function didConstruct() {
$this
->setName('show')
->setSynopsis(pht('Show policy information about an object.'))
->setExamples('**show** D123')
->setArguments(
arra... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/filter/PhabricatorPolicyFilterSet.php | src/applications/policy/filter/PhabricatorPolicyFilterSet.php | <?php
final class PhabricatorPolicyFilterSet
extends Phobject {
private $users = array();
private $objects = array();
private $capabilities = array();
private $queue = array();
private $results = array();
public function addCapability(
PhabricatorUser $user,
PhabricatorPolicyInterface $object,... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/filter/PhabricatorPolicyFilter.php | src/applications/policy/filter/PhabricatorPolicyFilter.php | <?php
final class PhabricatorPolicyFilter extends Phobject {
private $viewer;
private $objects;
private $capabilities;
private $raisePolicyExceptions;
private $userProjects;
private $customPolicies = array();
private $objectPolicies = array();
private $forcedPolicy;
public static function mustRetai... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/query/PhabricatorPolicyQuery.php | src/applications/policy/query/PhabricatorPolicyQuery.php | <?php
final class PhabricatorPolicyQuery
extends PhabricatorCursorPagedPolicyAwareQuery {
private $object;
private $phids;
const OBJECT_POLICY_PREFIX = 'obj.';
public function setObject(PhabricatorPolicyInterface $object) {
$this->object = $object;
return $this;
}
public function withPHIDs(ar... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/rule/PhabricatorLunarPhasePolicyRule.php | src/applications/policy/rule/PhabricatorLunarPhasePolicyRule.php | <?php
final class PhabricatorLunarPhasePolicyRule extends PhabricatorPolicyRule {
const PHASE_FULL = 'full';
const PHASE_NEW = 'new';
const PHASE_WAXING = 'waxing';
const PHASE_WANING = 'waning';
public function getRuleDescription() {
return pht('when the moon');
}
public function applyRule(
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/rule/PhabricatorPolicyRule.php | src/applications/policy/rule/PhabricatorPolicyRule.php | <?php
/**
* @task objectpolicy Implementing Object Policies
*/
abstract class PhabricatorPolicyRule extends Phobject {
const CONTROL_TYPE_TEXT = 'text';
const CONTROL_TYPE_SELECT = 'select';
const CONTROL_TYPE_TOKENIZER = 'tokenizer';
const CONTROL_TYPE_NONE = 'none';
abstract public fun... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/interface/PhabricatorPolicyInterface.php | src/applications/policy/interface/PhabricatorPolicyInterface.php | <?php
interface PhabricatorPolicyInterface extends PhabricatorPHIDInterface {
public function getCapabilities();
public function getPolicy($capability);
public function hasAutomaticCapability($capability, PhabricatorUser $viewer);
}
// TEMPLATE IMPLEMENTATION //////////////////////////////////////////////////... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/interface/PhabricatorExtendedPolicyInterface.php | src/applications/policy/interface/PhabricatorExtendedPolicyInterface.php | <?php
/**
* Allows an object to define a more complex policy than it can with
* @{interface:PhabricatorPolicyInterface} alone.
*
* Some objects have complex policies which depend on the policies of other
* objects. For example, users can generally only see a Revision in
* Differential if they can also see the Re... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/editor/PhabricatorPolicyEditEngineExtension.php | src/applications/policy/editor/PhabricatorPolicyEditEngineExtension.php | <?php
final class PhabricatorPolicyEditEngineExtension
extends PhabricatorEditEngineExtension {
const EXTENSIONKEY = 'policy.policy';
public function getExtensionPriority() {
return 250;
}
public function isExtensionEnabled() {
return true;
}
public function getExtensionName() {
return ph... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/exception/PhabricatorPolicyException.php | src/applications/policy/exception/PhabricatorPolicyException.php | <?php
final class PhabricatorPolicyException extends Exception {
private $title;
private $rejection;
private $capabilityName;
private $moreInfo = array();
private $objectPHID;
private $context;
private $capability;
public function setTitle($title) {
$this->title = $title;
return $this;
}
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/application/PhabricatorPolicyApplication.php | src/applications/policy/application/PhabricatorPolicyApplication.php | <?php
final class PhabricatorPolicyApplication extends PhabricatorApplication {
public function getName() {
return pht('Policy');
}
public function isLaunchable() {
return false;
}
public function canUninstall() {
return false;
}
public function getRoutes() {
return array(
'/pol... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/__tests__/PhabricatorPolicyTestObject.php | src/applications/policy/__tests__/PhabricatorPolicyTestObject.php | <?php
/**
* Configurable test object for implementing Policy unit tests.
*/
final class PhabricatorPolicyTestObject
extends Phobject
implements
PhabricatorPolicyInterface,
PhabricatorExtendedPolicyInterface {
private $phid;
private $capabilities = array();
private $policies = array();
private $a... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/__tests__/PhabricatorPolicyDataTestCase.php | src/applications/policy/__tests__/PhabricatorPolicyDataTestCase.php | <?php
final class PhabricatorPolicyDataTestCase extends PhabricatorTestCase {
protected function getPhabricatorTestCaseConfiguration() {
return array(
self::PHABRICATOR_TESTCONFIG_BUILD_STORAGE_FIXTURES => true,
);
}
public function testProjectPolicyMembership() {
$author = $this->generateNew... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/__tests__/PhabricatorPolicyAwareTestQuery.php | src/applications/policy/__tests__/PhabricatorPolicyAwareTestQuery.php | <?php
/**
* Configurable test query for implementing Policy unit tests.
*/
final class PhabricatorPolicyAwareTestQuery
extends PhabricatorPolicyAwareQuery {
private $results;
private $offset = 0;
public function setResults(array $results) {
$this->results = $results;
return $this;
}
protected ... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/__tests__/PhabricatorPolicyTestCase.php | src/applications/policy/__tests__/PhabricatorPolicyTestCase.php | <?php
final class PhabricatorPolicyTestCase extends PhabricatorTestCase {
/**
* Verify that any user can view an object with POLICY_PUBLIC.
*/
public function testPublicPolicyEnabled() {
$env = PhabricatorEnv::beginScopedEnv();
$env->overrideEnvConfig('policy.allow-public', true);
$this->expect... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/view/PhabricatorPolicyRef.php | src/applications/policy/view/PhabricatorPolicyRef.php | <?php
final class PhabricatorPolicyRef
extends Phobject {
private $viewer;
private $policy;
public function setViewer(PhabricatorUser $viewer) {
$this->viewer = $viewer;
return $this;
}
public function getViewer() {
return $this->viewer;
}
public function setPolicy(PhabricatorPolicy $po... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/view/PhabricatorPolicyRulesView.php | src/applications/policy/view/PhabricatorPolicyRulesView.php | <?php
final class PhabricatorPolicyRulesView
extends AphrontView {
private $policy;
public function setPolicy(PhabricatorPolicy $policy) {
$this->policy = $policy;
return $this;
}
public function getPolicy() {
return $this->policy;
}
public function render() {
$policy = $this->getPoli... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/view/PHUIPolicySectionView.php | src/applications/policy/view/PHUIPolicySectionView.php | <?php
final class PHUIPolicySectionView
extends AphrontTagView {
private $icon;
private $header;
private $documentationLink;
public function setHeader($header) {
$this->header = $header;
return $this;
}
public function getHeader() {
return $this->header;
}
public function setIcon($ico... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/phid/PhabricatorPolicyPHIDTypePolicy.php | src/applications/policy/phid/PhabricatorPolicyPHIDTypePolicy.php | <?php
final class PhabricatorPolicyPHIDTypePolicy extends PhabricatorPHIDType {
const TYPECONST = 'PLCY';
public function getTypeName() {
return pht('Policy');
}
public function newObject() {
return new PhabricatorPolicy();
}
public function getPHIDTypeApplicationClass() {
return 'Phabricat... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/policy/config/PolicyLockOptionType.php | src/applications/policy/config/PolicyLockOptionType.php | <?php
final class PolicyLockOptionType
extends PhabricatorConfigJSONOptionType {
public function validateOption(PhabricatorConfigOption $option, $value) {
$capabilities = id(new PhutilClassMapQuery())
->setAncestorClass('PhabricatorPolicyCapability')
->setUniqueMethod('getCapabilityKey')
->e... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.