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/view/phui/PHUIBadgeMiniView.php | src/view/phui/PHUIBadgeMiniView.php | <?php
final class PHUIBadgeMiniView extends AphrontTagView {
private $href;
private $icon;
private $quality;
private $header;
private $tipDirection;
public function setIcon($icon) {
$this->icon = $icon;
return $this;
}
public function setHref($href) {
$this->href = $href;
return $thi... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUITimelineView.php | src/view/phui/PHUITimelineView.php | <?php
final class PHUITimelineView extends AphrontView {
private $events = array();
private $id;
private $shouldTerminate = false;
private $shouldAddSpacers = true;
private $pager;
private $viewData = array();
private $quoteTargetID;
private $quoteRef;
public function setID($id) {
$this->id = $... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIIconCircleView.php | src/view/phui/PHUIIconCircleView.php | <?php
final class PHUIIconCircleView extends AphrontTagView {
private $href = null;
private $icon;
private $color;
private $size;
private $state;
const SMALL = 'circle-small';
const MEDIUM = 'circle-medium';
const STATE_FAIL = 'fa-times-circle';
const STATE_INFO = 'fa-info-circle';
const STATE_S... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIObjectBoxView.php | src/view/phui/PHUIObjectBoxView.php | <?php
final class PHUIObjectBoxView extends AphrontTagView {
private $headerText;
private $color;
private $background;
private $tabGroups = array();
private $formErrors = null;
private $infoView;
private $form;
private $validationException;
private $header;
private $flush;
private $actionListID;... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUICrumbsView.php | src/view/phui/PHUICrumbsView.php | <?php
final class PHUICrumbsView extends AphrontView {
private $crumbs = array();
private $actions = array();
private $border;
protected function canAppendChild() {
return false;
}
/**
* Convenience method for adding a simple crumb with just text, or text and
* a link.
*
* @param string... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIWorkboardView.php | src/view/phui/PHUIWorkboardView.php | <?php
final class PHUIWorkboardView extends AphrontTagView {
private $panels = array();
private $actions = array();
public function addPanel(PHUIWorkpanelView $panel) {
$this->panels[] = $panel;
return $this;
}
protected function getTagAttributes() {
return array(
'class' => 'phui-workbo... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIImageMaskView.php | src/view/phui/PHUIImageMaskView.php | <?php
final class PHUIImageMaskView extends AphrontTagView {
private $image;
private $withMask;
private $displayWidth;
private $displayHeight;
private $centerX;
private $centerY;
private $maskH;
private $maskW;
public function setImage($image) {
$this->image = $image;
return $this;
}
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUILeftRightView.php | src/view/phui/PHUILeftRightView.php | <?php
final class PHUILeftRightView extends AphrontTagView {
private $left;
private $right;
private $verticalAlign;
const ALIGN_TOP = 'top';
const ALIGN_MIDDLE = 'middle';
const ALIGN_BOTTOM = 'bottom';
public function setLeft($left) {
$this->left = $left;
return $this;
}
public function ... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIColor.php | src/view/phui/PHUIColor.php | <?php
final class PHUIColor extends Phobject {
public static function getWebColorFromANSIColor($ansi_color) {
$map = array(
'cyan' => 'sky',
'magenta' => 'pink',
);
return idx($map, $ansi_color, $ansi_color);
}
}
| php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIFeedStoryView.php | src/view/phui/PHUIFeedStoryView.php | <?php
final class PHUIFeedStoryView extends AphrontView {
private $title;
private $image;
private $imageHref;
private $appIcon;
private $phid;
private $epoch;
private $viewed;
private $href;
private $pontification = null;
private $tokenBar = array();
private $projects = array();
private $actio... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUICurtainObjectRefView.php | src/view/phui/PHUICurtainObjectRefView.php | <?php
final class PHUICurtainObjectRefView
extends AphrontTagView {
private $handle;
private $epoch;
private $highlighted;
private $exiled;
private $exileNote = false;
public function setHandle(PhabricatorObjectHandle $handle) {
$this->handle = $handle;
return $this;
}
public function setE... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIHeadThingView.php | src/view/phui/PHUIHeadThingView.php | <?php
final class PHUIHeadThingView extends AphrontTagView {
private $image;
private $imageHref;
private $content;
private $size;
const SMALL = 'head-thing-small';
const MEDIUM = 'head-thing-medium';
public function setImageHref($href) {
$this->imageHref = $href;
return $this;
}
public fu... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIListView.php | src/view/phui/PHUIListView.php | <?php
final class PHUIListView extends AphrontTagView {
const NAVBAR_LIST = 'phui-list-navbar';
const NAVBAR_VERTICAL = 'phui-list-navbar-vertical';
const SIDENAV_LIST = 'phui-list-sidenav';
const TABBAR_LIST = 'phui-list-tabbar';
private $items = array();
private $type;
protected function canAppendCh... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIWorkpanelView.php | src/view/phui/PHUIWorkpanelView.php | <?php
final class PHUIWorkpanelView extends AphrontTagView {
private $cards = array();
private $header;
private $subheader = null;
private $footerAction;
private $headerActions = array();
private $headerTag;
private $headerIcon;
private $href;
public function setHeaderIcon($icon) {
$this->heade... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIActionPanelView.php | src/view/phui/PHUIActionPanelView.php | <?php
final class PHUIActionPanelView extends AphrontTagView {
private $href;
private $fontIcon;
private $image;
private $header;
private $subHeader;
private $bigText;
private $state;
private $status;
const COLOR_RED = 'phui-action-panel-red';
const COLOR_ORANGE = 'phui-action-panel-orange';
co... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIHeaderView.php | src/view/phui/PHUIHeaderView.php | <?php
final class PHUIHeaderView extends AphrontTagView {
const PROPERTY_STATUS = 1;
private $header;
private $tags = array();
private $image;
private $imageURL = null;
private $imageEditURL = null;
private $subheader;
private $headerIcon;
private $noBackground;
private $bleedHeader;
private $p... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIPropertyGroupView.php | src/view/phui/PHUIPropertyGroupView.php | <?php
final class PHUIPropertyGroupView extends AphrontTagView {
private $items;
public function addPropertyList(PHUIPropertyListView $item) {
$this->items[] = $item;
}
protected function canAppendChild() {
return false;
}
protected function getTagAttributes() {
return array(
'class' ... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUICMSView.php | src/view/phui/PHUICMSView.php | <?php
final class PHUICMSView extends AphrontTagView {
private $header;
private $nav;
private $crumbs;
private $content;
private $toc;
private $comments;
public function setHeader(PHUIHeaderView $header) {
$this->header = $header;
return $this;
}
public function setNavigation(AphrontSideNa... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUI.php | src/view/phui/PHUI.php | <?php
final class PHUI extends Phobject {
const MARGIN_SMALL = 'ms';
const MARGIN_MEDIUM = 'mm';
const MARGIN_LARGE = 'ml';
const MARGIN_SMALL_LEFT = 'msl';
const MARGIN_MEDIUM_LEFT = 'mml';
const MARGIN_LARGE_LEFT = 'mll';
const MARGIN_SMALL_RIGHT = 'msr';
const MARGIN_MEDIUM_RIGHT = 'mmr';
const... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIInfoView.php | src/view/phui/PHUIInfoView.php | <?php
final class PHUIInfoView extends AphrontTagView {
const SEVERITY_ERROR = 'error';
const SEVERITY_WARNING = 'warning';
const SEVERITY_NOTICE = 'notice';
const SEVERITY_NODATA = 'nodata';
const SEVERITY_SUCCESS = 'success';
const SEVERITY_PLAIN = 'plain';
const SEVERITY_MFA = 'mfa';
private $titl... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIListItemView.php | src/view/phui/PHUIListItemView.php | <?php
final class PHUIListItemView extends AphrontTagView {
const TYPE_LINK = 'type-link';
const TYPE_SPACER = 'type-spacer';
const TYPE_LABEL = 'type-label';
const TYPE_BUTTON = 'type-button';
const TYPE_CUSTOM = 'type-custom';
const TYPE_DIVIDER = 'type-divider';
const TYPE_ICON = 't... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIPinboardItemView.php | src/view/phui/PHUIPinboardItemView.php | <?php
final class PHUIPinboardItemView extends AphrontView {
private $imageURI;
private $uri;
private $header;
private $iconBlock = array();
private $disabled;
private $object;
private $imageWidth;
private $imageHeight;
public function setHeader($header) {
$this->header = $header;
return $t... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIButtonView.php | src/view/phui/PHUIButtonView.php | <?php
final class PHUIButtonView extends AphrontTagView {
const GREEN = 'green';
const GREY = 'grey';
const BLUE = 'blue';
const RED = 'red';
const DISABLED = 'disabled';
const SMALL = 'small';
const BIG = 'big';
const BUTTONTYPE_DEFAULT = 'buttontype.default';
const BUTTONTYPE_SIMPLE = 'buttontyp... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIStatusListView.php | src/view/phui/PHUIStatusListView.php | <?php
final class PHUIStatusListView extends AphrontTagView {
private $items;
public function addItem(PHUIStatusItemView $item) {
$this->items[] = $item;
return $this;
}
protected function canAppendChild() {
return false;
}
protected function getTagName() {
return 'table';
}
protec... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUITabGroupView.php | src/view/phui/PHUITabGroupView.php | <?php
final class PHUITabGroupView extends AphrontTagView {
private $tabs = array();
private $selectedTab;
private $vertical;
private $hideSingleTab;
protected function canAppendChild() {
return false;
}
public function setVertical($vertical) {
$this->vertical = $vertical;
return $this;
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUICurtainObjectRefListView.php | src/view/phui/PHUICurtainObjectRefListView.php | <?php
final class PHUICurtainObjectRefListView
extends AphrontTagView {
private $refs = array();
private $emptyMessage;
private $tail = array();
protected function getTagAttributes() {
return array(
'class' => 'phui-curtain-object-ref-list-view',
);
}
public function setEmptyMessage($emp... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIDocumentView.php | src/view/phui/PHUIDocumentView.php | <?php
final class PHUIDocumentView extends AphrontTagView {
private $header;
private $bookname;
private $bookdescription;
private $fluid;
private $toc;
private $foot;
private $curtain;
private $banner;
public function setHeader(PHUIHeaderView $header) {
$header->setTall(true);
$this->header... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUITabView.php | src/view/phui/PHUITabView.php | <?php
final class PHUITabView extends AphrontTagView {
private $icon;
private $name;
private $key;
private $keyLocked;
private $contentID;
private $color;
public function setKey($key) {
if ($this->keyLocked) {
throw new Exception(
pht(
'Attempting to change the key of a tab ... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIInvisibleCharacterView.php | src/view/phui/PHUIInvisibleCharacterView.php | <?php
/**
* API for replacing whitespace characters and some control characters with
* their printable representations. This is useful for debugging and
* displaying more helpful error messages to users.
*
*/
final class PHUIInvisibleCharacterView extends AphrontView {
private $inputText;
private $plainText ... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIObjectItemView.php | src/view/phui/PHUIObjectItemView.php | <?php
final class PHUIObjectItemView extends AphrontTagView {
private $objectName;
private $header;
private $subhead;
private $href;
private $attributes = array();
private $icons = array();
private $barColor;
private $object;
private $effect;
private $statusIcon;
private $handleIcons = array();
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIPinboardView.php | src/view/phui/PHUIPinboardView.php | <?php
final class PHUIPinboardView extends AphrontView {
private $items = array();
private $noDataString;
public function setNoDataString($no_data_string) {
$this->noDataString = $no_data_string;
return $this;
}
public function addItem(PHUIPinboardItemView $item) {
$this->items[] = $item;
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIDocumentSummaryView.php | src/view/phui/PHUIDocumentSummaryView.php | <?php
final class PHUIDocumentSummaryView extends AphrontTagView {
private $title;
private $image;
private $imageHref;
private $subtitle;
private $href;
private $summary;
private $draft;
public function setTitle($title) {
$this->title = $title;
return $this;
}
public function setSubtitle... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIBadgeView.php | src/view/phui/PHUIBadgeView.php | <?php
final class PHUIBadgeView extends AphrontTagView {
private $href;
private $icon;
private $quality;
private $source;
private $header;
private $subhead;
private $bylines = array();
public function setIcon($icon) {
$this->icon = $icon;
return $this;
}
public function setHref($href) {
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIObjectItemListView.php | src/view/phui/PHUIObjectItemListView.php | <?php
final class PHUIObjectItemListView extends AphrontTagView {
private $header;
private $items;
private $pager;
private $noDataString;
private $flush;
private $simple;
private $big;
private $drag;
private $allowEmptyList;
private $itemClass = 'phui-oi-standard';
private $tail = array();
pu... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUITagView.php | src/view/phui/PHUITagView.php | <?php
final class PHUITagView extends AphrontTagView {
const TYPE_PERSON = 'person';
const TYPE_OBJECT = 'object';
const TYPE_STATE = 'state';
const TYPE_SHADE = 'shade';
const TYPE_OUTLINE = 'outline';
const COLOR_RED = 'red';
const COLOR_ORANGE ... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIPagerView.php | src/view/phui/PHUIPagerView.php | <?php
final class PHUIPagerView extends AphrontView {
private $offset;
private $pageSize = 100;
private $count;
private $hasMorePages;
private $uri;
private $pagingParameter;
private $surroundingPages = 2;
private $enableKeyboardShortcuts;
public function setPageSize($page_size) {
$this->page... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIHovercardView.php | src/view/phui/PHUIHovercardView.php | <?php
/**
* The default one-for-all hovercard. We may derive from this one to create
* more specialized ones.
*/
final class PHUIHovercardView extends AphrontTagView {
/**
* @var PhabricatorObjectHandle
*/
private $handle;
private $object;
private $title = array();
private $detail;
private $tags... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIButtonBarView.php | src/view/phui/PHUIButtonBarView.php | <?php
final class PHUIButtonBarView extends AphrontTagView {
private $buttons = array();
private $borderless;
public function addButton($button) {
$this->buttons[] = $button;
return $this;
}
public function setBorderless($borderless) {
$this->borderless = $borderless;
return $this;
}
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUISegmentBarSegmentView.php | src/view/phui/PHUISegmentBarSegmentView.php | <?php
final class PHUISegmentBarSegmentView extends AphrontTagView {
private $width;
private $color;
private $position;
private $tooltip;
public function setWidth($width) {
$this->width = $width;
return $this;
}
public function getWidth() {
return $this->width;
}
public function setCo... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUILinkView.php | src/view/phui/PHUILinkView.php | <?php
final class PHUILinkView
extends AphrontTagView {
private $uri;
private $text;
private $workflow;
public function setURI($uri) {
$this->uri = $uri;
return $this;
}
public function getURI() {
return $this->uri;
}
public function setText($text) {
$this->text = $text;
retur... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIBoxView.php | src/view/phui/PHUIBoxView.php | <?php
final class PHUIBoxView extends AphrontTagView {
private $margin = array();
private $padding = array();
private $border = false;
private $color;
const BLUE = 'phui-box-blue';
const GREY = 'phui-box-grey';
public function addMargin($margin) {
$this->margin[] = $margin;
return $this;
}
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUISegmentBarView.php | src/view/phui/PHUISegmentBarView.php | <?php
final class PHUISegmentBarView extends AphrontTagView {
private $label;
private $segments = array();
public function setLabel($label) {
$this->label = $label;
return $this;
}
public function newSegment() {
$segment = new PHUISegmentBarSegmentView();
$this->segments[] = $segment;
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIStatusItemView.php | src/view/phui/PHUIStatusItemView.php | <?php
final class PHUIStatusItemView extends AphrontTagView {
private $icon;
private $iconLabel;
private $iconColor;
private $target;
private $note;
private $highlighted;
private $isExiled;
const ICON_ACCEPT = 'fa-check-circle';
const ICON_REJECT = 'fa-times-circle';
const ICON_LEFT = 'fa-chevron... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIPropertyListView.php | src/view/phui/PHUIPropertyListView.php | <?php
final class PHUIPropertyListView extends AphrontView {
private $parts = array();
private $hasKeyboardShortcuts;
private $object;
private $invokedWillRenderEvent;
private $actionList = null;
private $classes = array();
private $stacked;
const ICON_SUMMARY = 'fa-align-left';
const ICON_TESTPLAN... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUITwoColumnView.php | src/view/phui/PHUITwoColumnView.php | <?php
final class PHUITwoColumnView extends AphrontTagView {
private $mainColumn;
private $sideColumn = null;
private $navigation;
private $display;
private $fixed;
private $header;
private $subheader;
private $footer;
private $tabs;
private $propertySection = array();
private $curtain;
const... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIRemarkupPreviewPanel.php | src/view/phui/PHUIRemarkupPreviewPanel.php | <?php
/**
* Render a simple preview panel for a bound Remarkup text control.
*/
final class PHUIRemarkupPreviewPanel extends AphrontTagView {
private $header;
private $loadingText;
private $controlID;
private $previewURI;
private $previewType;
const DOCUMENT = 'document';
protected function canAppen... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUIBigInfoView.php | src/view/phui/PHUIBigInfoView.php | <?php
final class PHUIBigInfoView extends AphrontTagView {
private $icon;
private $title;
private $description;
private $image;
private $actions = array();
public function setIcon($icon) {
$this->icon = $icon;
return $this;
}
public function setTitle($title) {
$this->title = $title;
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/PHUILauncherView.php | src/view/phui/PHUILauncherView.php | <?php
final class PHUILauncherView
extends AphrontTagView {
protected function getTagName() {
return 'div';
}
protected function getTagAttributes() {
$classes = array();
$classes[] = 'phui-launcher-view';
return array(
'class' => implode(' ', $classes),
);
}
}
| php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/__tests__/PHUIInvisibleCharacterTestCase.php | src/view/phui/__tests__/PHUIInvisibleCharacterTestCase.php | <?php
final class PHUIInvisibleCharacterTestCase extends PhabricatorTestCase {
public function testEmptyString() {
$view = new PHUIInvisibleCharacterView('');
$res = $view->render();
$this->assertEqual($res, array());
}
public function testEmptyPlainText() {
$view = id(new PHUIInvisibleCharacte... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/calendar/PHUICalendarListView.php | src/view/phui/calendar/PHUICalendarListView.php | <?php
final class PHUICalendarListView extends AphrontTagView {
private $events = array();
private $blankState;
private $view;
private $moreLink;
public function setMoreLink($more_link) {
$this->moreLink = $more_link;
return $this;
}
public function getMoreLink() {
return $this->moreLink;
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/calendar/PHUICalendarWidgetView.php | src/view/phui/calendar/PHUICalendarWidgetView.php | <?php
final class PHUICalendarWidgetView extends AphrontTagView {
private $header;
private $list;
public function setHeader($date) {
$this->header = $date;
return $this;
}
public function setCalendarList(PHUICalendarListView $list) {
$this->list = $list;
return $this;
}
protected func... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/calendar/PHUICalendarDayView.php | src/view/phui/calendar/PHUICalendarDayView.php | <?php
final class PHUICalendarDayView extends AphrontView {
private $rangeStart;
private $rangeEnd;
private $day;
private $month;
private $year;
private $browseURI;
private $query;
private $events = array();
private $allDayEvents = array();
public function addEvent(AphrontCalendarEventView $even... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/calendar/PHUICalendarMonthView.php | src/view/phui/calendar/PHUICalendarMonthView.php | <?php
final class PHUICalendarMonthView extends AphrontView {
private $rangeStart;
private $rangeEnd;
private $day;
private $month;
private $year;
private $events = array();
private $browseURI;
private $image;
private $error;
public function setBrowseURI($browse_uri) {
$this->browseURI = $b... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/phui/calendar/PHUICalendarWeekView.php | src/view/phui/calendar/PHUICalendarWeekView.php | <?php
final class PHUICalendarWeekView extends AphrontView {
private $events;
private $dateTime;
private $weekLength = 7;
private $view = 'day';
public function setEvents($events) {
$this->events = $events;
return $this;
}
public function setDateTime($date_time) {
$this->dateTime = $date_ti... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/formation/PHUIFormationColumnView.php | src/view/formation/PHUIFormationColumnView.php | <?php
abstract class PHUIFormationColumnView
extends AphrontAutoIDView {
private $item;
private $isDesktopOnly;
final public function setColumnItem(PHUIFormationColumnItem $item) {
$this->item = $item;
return $this;
}
final public function getColumnItem() {
return $this->item;
}
public ... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/formation/PHUIFormationResizerView.php | src/view/formation/PHUIFormationResizerView.php | <?php
final class PHUIFormationResizerView
extends PHUIFormationColumnView {
private $isVisible;
public function setIsVisible($is_visible) {
$this->isVisible = $is_visible;
return $this;
}
public function getIsVisible() {
return $this->isVisible;
}
public function getWidth() {
return ... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/formation/PHUIFormationColumnDynamicView.php | src/view/formation/PHUIFormationColumnDynamicView.php | <?php
abstract class PHUIFormationColumnDynamicView
extends PHUIFormationColumnView {
private $isVisible = true;
private $isResizable;
private $width;
private $widthSettingKey;
private $visibleSettingKey;
private $minimumWidth;
private $maximumWidth;
private $expanderTooltip;
public function setE... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/formation/PHUIFormationFlankView.php | src/view/formation/PHUIFormationFlankView.php | <?php
final class PHUIFormationFlankView
extends PHUIFormationColumnDynamicView {
private $isFixed;
private $head;
private $body;
private $tail;
private $headID;
private $bodyID;
private $tailID;
private $headerText;
public function setIsFixed($fixed) {
$this->isFixed = $fixed;
return ... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/formation/PHUIFormationExpanderView.php | src/view/formation/PHUIFormationExpanderView.php | <?php
final class PHUIFormationExpanderView
extends AphrontAutoIDView {
private $tooltip;
private $columnItem;
public function setTooltip($tooltip) {
$this->tooltip = $tooltip;
return $this;
}
public function getTooltip() {
return $this->tooltip;
}
public function setColumnItem($column_... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/formation/PHUIFormationColumnItem.php | src/view/formation/PHUIFormationColumnItem.php | <?php
final class PHUIFormationColumnItem
extends Phobject {
private $id;
private $column;
private $controlItem;
private $resizerItem;
private $isRightAligned;
private $expander;
private $expanders = array();
public function getID() {
if (!$this->id) {
$this->id = celerity_generate_unique... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/formation/PHUIFormationContentView.php | src/view/formation/PHUIFormationContentView.php | <?php
final class PHUIFormationContentView
extends PHUIFormationColumnView {
public function getIsControlColumn() {
return true;
}
public function render() {
require_celerity_resource('phui-formation-view-css');
return phutil_tag(
'div',
array(
'class' => 'phui-formation-view... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/formation/PHUIFormationView.php | src/view/formation/PHUIFormationView.php | <?php
final class PHUIFormationView
extends AphrontAutoIDView {
private $items = array();
public function newFlankColumn() {
$item = $this->newItem(new PHUIFormationFlankView());
return $item->getColumn();
}
public function newContentColumn() {
$item = $this->newItem(new PHUIFormationContentVi... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/__tests__/PhabricatorAphrontViewTestCase.php | src/view/__tests__/PhabricatorAphrontViewTestCase.php | <?php
final class PhabricatorAphrontViewTestCase extends PhabricatorTestCase {
public function testHasChildren() {
$view = new AphrontNullView();
$this->assertFalse($view->hasChildren());
$values = array(
null,
'',
array(),
array(null, ''),
);
foreach ($values as $value... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/__tests__/PhabricatorUnitsTestCase.php | src/view/__tests__/PhabricatorUnitsTestCase.php | <?php
final class PhabricatorUnitsTestCase extends PhabricatorTestCase {
// NOTE: Keep tests below PHP_INT_MAX on 32-bit systems, since if you write
// larger numeric literals they'll evaluate to nonsense.
public function testByteFormatting() {
$tests = array(
1 => '1 B',
1024... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/__tests__/PhabricatorLocalTimeTestCase.php | src/view/__tests__/PhabricatorLocalTimeTestCase.php | <?php
final class PhabricatorLocalTimeTestCase extends PhabricatorTestCase {
protected function getPhabricatorTestCaseConfiguration() {
return array(
self::PHABRICATOR_TESTCONFIG_BUILD_STORAGE_FIXTURES => true,
);
}
public function testLocalTimeFormatting() {
$user = $this->generateNewTestUse... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/layout/PHUIApplicationMenuView.php | src/view/layout/PHUIApplicationMenuView.php | <?php
final class PHUIApplicationMenuView extends Phobject {
private $viewer;
private $crumbs;
private $searchEngine;
private $profileMenu;
private $items = array();
public function setViewer(PhabricatorUser $viewer) {
$this->viewer = $viewer;
return $this;
}
public function getViewer() {
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/layout/AphrontListFilterView.php | src/view/layout/AphrontListFilterView.php | <?php
final class AphrontListFilterView extends AphrontView {
private $showAction;
private $hideAction;
private $showHideDescription;
private $showHideHref;
public function setCollapsed($show, $hide, $description, $href) {
$this->showAction = $show;
$this->hideAction = $hide;
$this->showHideDes... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/layout/AphrontMultiColumnView.php | src/view/layout/AphrontMultiColumnView.php | <?php
final class AphrontMultiColumnView extends AphrontView {
const GUTTER_SMALL = 'msr';
const GUTTER_MEDIUM = 'mmr';
const GUTTER_LARGE = 'mlr';
private $id;
private $columns = array();
private $fluidLayout = false;
private $fluidishLayout = false;
private $gutter;
private $border;
public fun... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/layout/PhabricatorActionListView.php | src/view/layout/PhabricatorActionListView.php | <?php
final class PhabricatorActionListView extends AphrontTagView {
private $actions = array();
private $object;
public function setObject(PhabricatorLiskDAO $object) {
$this->object = $object;
return $this;
}
public function addAction(PhabricatorActionView $view) {
$this->actions[] = $view;
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/layout/PhabricatorAnchorView.php | src/view/layout/PhabricatorAnchorView.php | <?php
final class PhabricatorAnchorView extends AphrontView {
private $anchorName;
private $navigationMarker;
public function setAnchorName($name) {
$this->anchorName = $name;
return $this;
}
public function setNavigationMarker($marker) {
$this->navigationMarker = $marker;
return $this;
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/layout/AphrontSideNavFilterView.php | src/view/layout/AphrontSideNavFilterView.php | <?php
/**
* Provides a navigation sidebar. For example:
*
* $nav = new AphrontSideNavFilterView();
* $nav
* ->setBaseURI($some_uri)
* ->addLabel('Cats')
* ->addFilter('meow', 'Meow')
* ->addFilter('purr', 'Purr')
* ->addLabel('Dogs')
* ->addFilter('woof', 'Woof')
* -... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/layout/AphrontMoreView.php | src/view/layout/AphrontMoreView.php | <?php
final class AphrontMoreView extends AphrontView {
private $some;
private $more;
private $expandtext;
public function setSome($some) {
$this->some = $some;
return $this;
}
public function setMore($more) {
$this->more = $more;
return $this;
}
public function setExpandText($text)... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/layout/PHUICurtainPanelView.php | src/view/layout/PHUICurtainPanelView.php | <?php
final class PHUICurtainPanelView extends AphrontTagView {
private $order = 0;
private $headerText;
public function setHeaderText($header_text) {
$this->headerText = $header_text;
return $this;
}
public function getHeaderText() {
return $this->headerText;
}
public function setOrder($... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/layout/PhabricatorActionView.php | src/view/layout/PhabricatorActionView.php | <?php
final class PhabricatorActionView extends AphrontView {
private $name;
private $icon;
private $href;
private $disabled;
private $label;
private $workflow;
private $renderAsForm;
private $download;
private $sigils = array();
private $metadata;
private $selected;
private $openInNewWindow;
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/layout/PhabricatorSourceCodeView.php | src/view/layout/PhabricatorSourceCodeView.php | <?php
final class PhabricatorSourceCodeView extends AphrontView {
private $lines;
private $uri;
private $highlights = array();
private $canClickHighlight = true;
private $truncatedFirstBytes = false;
private $truncatedFirstLines = false;
private $symbolMetadata;
private $blameMap;
private $coverage ... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/layout/PhabricatorFileLinkView.php | src/view/layout/PhabricatorFileLinkView.php | <?php
final class PhabricatorFileLinkView extends AphrontTagView {
private $fileName;
private $fileDownloadURI;
private $fileViewURI;
private $fileViewable;
private $filePHID;
private $fileMonogram;
private $fileSize;
private $customClass;
public function setCustomClass($custom_class) {
$this->... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/layout/PHUICurtainView.php | src/view/layout/PHUICurtainView.php | <?php
final class PHUICurtainView extends AphrontTagView {
private $actionList;
private $panels = array();
public function addAction(PhabricatorActionView $action) {
$this->getActionList()->addAction($action);
return $this;
}
public function addPanel(PHUICurtainPanelView $curtain_panel) {
$thi... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/layout/__tests__/PHUIListViewTestCase.php | src/view/layout/__tests__/PHUIListViewTestCase.php | <?php
final class PHUIListViewTestCase extends PhabricatorTestCase {
public function testAppend() {
$menu = $this->newABCMenu();
$this->assertMenuKeys(
array(
'a',
'b',
'c',
),
$menu);
}
public function testAppendAfter() {
$menu = $this->newABCMenu();
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/fuel/FuelMenuView.php | src/view/fuel/FuelMenuView.php | <?php
final class FuelMenuView
extends FuelComponentView {
private $items = array();
public function newItem() {
$item = new FuelMenuItemView();
$this->items[] = $item;
return $item;
}
public function render() {
require_celerity_resource('fuel-menu-css');
$items = $this->items;
i... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/fuel/FuelMapItemView.php | src/view/fuel/FuelMapItemView.php | <?php
final class FuelMapItemView
extends AphrontView {
private $name;
private $value;
public function setName($name) {
$this->name = $name;
return $this;
}
public function getName() {
return $this->name;
}
public function setValue($value) {
$this->value = $value;
return $this;
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/fuel/FuelGridCellView.php | src/view/fuel/FuelGridCellView.php | <?php
final class FuelGridCellView
extends FuelComponentView {
private $content;
public function setContent($content) {
$this->content = $content;
return $this;
}
public function getContent() {
return $this->content;
}
public function render() {
$content = $this->getContent();
re... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/fuel/FuelGridRowView.php | src/view/fuel/FuelGridRowView.php | <?php
final class FuelGridRowView
extends FuelView {
private $cells = array();
public function newCell() {
$cell = new FuelGridCellView();
$this->cells[] = $cell;
return $cell;
}
public function render() {
$cells = $this->cells;
$classes = array();
$classes[] = 'fuel-grid-row';
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/fuel/FuelView.php | src/view/fuel/FuelView.php | <?php
abstract class FuelView
extends AphrontView {
final protected function canAppendChild() {
return false;
}
}
| php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/fuel/FuelMapView.php | src/view/fuel/FuelMapView.php | <?php
final class FuelMapView
extends FuelComponentView {
private $items = array();
public function newItem() {
$item = new FuelMapItemView();
$this->items[] = $item;
return $item;
}
public function render() {
require_celerity_resource('fuel-map-css');
$items = $this->items;
if (... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/fuel/FuelMenuItemView.php | src/view/fuel/FuelMenuItemView.php | <?php
final class FuelMenuItemView
extends FuelView {
private $name;
private $uri;
private $icon;
private $disabled;
private $backgroundColor;
public function setURI($uri) {
$this->uri = $uri;
return $this;
}
public function getURI() {
return $this->uri;
}
public function setName(... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/fuel/FuelGridView.php | src/view/fuel/FuelGridView.php | <?php
final class FuelGridView
extends FuelComponentView {
private $rows = array();
public function newRow() {
$row = new FuelGridRowView();
$this->rows[] = $row;
return $row;
}
public function render() {
require_celerity_resource('fuel-grid-css');
$rows = $this->rows;
$body = ph... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/fuel/FuelHandleListItemView.php | src/view/fuel/FuelHandleListItemView.php | <?php
final class FuelHandleListItemView
extends FuelView {
private $handle;
public function setHandle(PhabricatorObjectHandle $handle) {
$this->handle = $handle;
return $this;
}
public function render() {
$cells = array();
$cells[] = phutil_tag(
'div',
array(
'class' ... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/fuel/FuelComponentView.php | src/view/fuel/FuelComponentView.php | <?php
abstract class FuelComponentView
extends FuelView {
private $classes = array();
final public function addClass($class) {
$this->classes[] = $class;
return $this;
}
private function getClasses() {
return $this->classes;
}
final protected function newComponentTag(
$tag,
array ... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/fuel/FuelHandleListView.php | src/view/fuel/FuelHandleListView.php | <?php
final class FuelHandleListView
extends FuelComponentView {
private $items = array();
public function addHandleList(PhabricatorHandleList $list) {
$this->items[] = array(
'type' => 'list',
'item' => $list,
);
return $this;
}
public function render() {
require_celerity_reso... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/page/PhabricatorBarePageView.php | src/view/page/PhabricatorBarePageView.php | <?php
/**
* This is a bare HTML page view which has access to Phabricator page
* infrastructure like Celerity, but no content or builtin static resources.
* You basically get a valid HMTL5 document and an empty body tag.
*
* @concrete-extensible
*/
class PhabricatorBarePageView extends AphrontPageView {
priva... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/page/PhabricatorStandardPageView.php | src/view/page/PhabricatorStandardPageView.php | <?php
/**
* This is a standard Phabricator page with menus, Javelin, DarkConsole, and
* basic styles.
*/
final class PhabricatorStandardPageView extends PhabricatorBarePageView
implements AphrontResponseProducerInterface {
private $baseURI;
private $applicationName;
private $glyph;
private $menuContent;
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/page/AphrontPageView.php | src/view/page/AphrontPageView.php | <?php
abstract class AphrontPageView extends AphrontView {
private $title;
public function setTitle($title) {
$this->title = $title;
return $this;
}
public function getTitle() {
$title = $this->title;
if (is_array($title)) {
$title = implode(" \xC2\xB7 ", $title);
}
return $tit... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/page/menu/PhabricatorMainMenuSearchView.php | src/view/page/menu/PhabricatorMainMenuSearchView.php | <?php
final class PhabricatorMainMenuSearchView extends AphrontView {
const DEFAULT_APPLICATION_ICON = 'fa-dot-circle-o';
private $id;
private $application;
public function setApplication(PhabricatorApplication $application) {
$this->application = $application;
return $this;
}
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/view/page/menu/PhabricatorMainMenuView.php | src/view/page/menu/PhabricatorMainMenuView.php | <?php
final class PhabricatorMainMenuView extends AphrontView {
private $controller;
private $applicationMenu;
public function setApplicationMenu(PHUIListView $application_menu) {
$this->applicationMenu = $application_menu;
return $this;
}
public function getApplicationMenu() {
return $this->a... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/page/menu/PhabricatorMainMenuBarExtension.php | src/view/page/menu/PhabricatorMainMenuBarExtension.php | <?php
abstract class PhabricatorMainMenuBarExtension extends Phobject {
private $viewer;
private $application;
private $controller;
private $isFullSession;
public function setViewer(PhabricatorUser $viewer) {
$this->viewer = $viewer;
return $this;
}
public function getViewer() {
return $th... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/form/PHUIFormLayoutView.php | src/view/form/PHUIFormLayoutView.php | <?php
/**
* This provides the layout of an AphrontFormView without actually providing
* the <form /> tag. Useful on its own for creating forms in other forms (like
* dialogs) or forms which aren't submittable.
*/
final class PHUIFormLayoutView extends AphrontView {
private $classes = array();
private $fullWid... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/form/PHUIFormInsetView.php | src/view/form/PHUIFormInsetView.php | <?php
final class PHUIFormInsetView extends AphrontView {
private $title;
private $description;
private $rightButton;
private $content;
private $hidden = array();
private $divAttributes;
public function setTitle($title) {
$this->title = $title;
return $this;
}
public function setDescripti... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/form/AphrontFormView.php | src/view/form/AphrontFormView.php | <?php
final class AphrontFormView extends AphrontView {
private $action;
private $method = 'POST';
private $header;
private $data = array();
private $encType;
private $workflow;
private $id;
private $sigils = array();
private $metadata;
private $controls = array();
private $fullWidth = false;
... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/form/control/AphrontFormCheckboxControl.php | src/view/form/control/AphrontFormCheckboxControl.php | <?php
final class AphrontFormCheckboxControl extends AphrontFormControl {
private $boxes = array();
private $checkboxKey;
public function setCheckboxKey($checkbox_key) {
$this->checkboxKey = $checkbox_key;
return $this;
}
public function getCheckboxKey() {
return $this->checkboxKey;
}
pub... | php | Apache-2.0 | 5720a38cfe95b00ca4be5016dd0d2f3195f4fa04 | 2026-01-04T15:03:23.651835Z | false |
phacility/phabricator | https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/view/form/control/AphrontFormRecaptchaControl.php | src/view/form/control/AphrontFormRecaptchaControl.php | <?php
final class AphrontFormRecaptchaControl extends AphrontFormControl {
protected function getCustomControlClass() {
return 'aphront-form-control-recaptcha';
}
protected function shouldRender() {
return self::isRecaptchaEnabled();
}
public static function isRecaptchaEnabled() {
return Phabr... | 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.