Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93594178
AphrontNoteView.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Nov 30, 00:42
Size
619 B
Mime Type
text/x-php
Expires
Mon, Dec 2, 00:42 (2 d)
Engine
blob
Format
Raw Data
Handle
22666057
Attached To
rPH Phabricator
AphrontNoteView.php
View Options
<?php
final
class
AphrontNoteView
extends
AphrontView
{
private
$title
;
public
function
setTitle
(
$title
)
{
$this
->
title
=
$title
;
return
$this
;
}
public
function
render
()
{
$title
=
phutil_tag
(
'div'
,
array
(
'class'
=>
'title'
,
),
$this
->
title
);
$inner
=
phutil_tag
(
'div'
,
array
(
'class'
=>
'inner'
,
),
$this
->
renderChildren
());
require_celerity_resource
(
'aphront-notes'
);
return
phutil_tag
(
'div'
,
array
(
'class'
=>
'aphront-note'
,
),
array
(
$title
,
$inner
));
}
}
Event Timeline
Log In to Comment