Page MenuHomestyx hydra

AphrontContextBarView.php
No OneTemporary

AphrontContextBarView.php

<?php
final class AphrontContextBarView extends AphrontView {
protected $buttons = array();
public function addButton($button) {
$this->buttons[] = $button;
return $this;
}
public function render() {
$view = new AphrontNullView();
$view->appendChild($this->buttons);
require_celerity_resource('aphront-contextbar-view-css');
return phutil_tag_div(
'aphront-contextbar-view',
array(
phutil_tag_div('aphront-contextbar-core', array(
phutil_tag_div('aphront-contextbar-buttons', $view->render()),
phutil_tag_div('aphront-contextbar-content', $this->renderChildren()),
)),
phutil_tag('div', array('style' => 'clear: both;')),
));
}
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Dec 17, 6:10 PM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
446421
Default Alt Text
AphrontContextBarView.php (733 B)

Event Timeline