Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F35134363
AphrontContextBarView.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
733 B
Subscribers
None
AphrontContextBarView.php
View Options
<?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
Details
Attached
Mime Type
text/x-php
Expires
Sun, Feb 1, 7:23 PM (5 h, 18 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
97/d3/591ff6f2ebd061ade03b4d7234ce
Attached To
rPHAB Phabricator
Event Timeline
Log In to Comment