Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F110567151
AphrontCalendarDayEventView.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, Apr 26, 22:48
Size
690 B
Mime Type
text/x-php
Expires
Mon, Apr 28, 22:48 (2 d)
Engine
blob
Format
Raw Data
Handle
25787462
Attached To
rPH Phabricator
AphrontCalendarDayEventView.php
View Options
<?php
final
class
AphrontCalendarDayEventView
extends
AphrontView
{
private
$event
;
private
$epochStart
;
private
$epochEnd
;
private
$name
;
public
function
setName
(
$name
)
{
$this
->
name
=
$name
;
return
$this
;
}
public
function
getName
()
{
return
$this
->
name
;
}
public
function
setEpochRange
(
$start
,
$end
)
{
$this
->
epochStart
=
$start
;
$this
->
epochEnd
=
$end
;
return
$this
;
}
public
function
getEpochStart
()
{
return
$this
->
epochStart
;
}
public
function
getEpochEnd
()
{
return
$this
->
epochEnd
;
}
public
function
render
()
{
$box
=
new
PHUIObjectBoxView
();
$box
->
setHeaderText
(
$this
->
name
);
return
$box
;
}
}
Event Timeline
Log In to Comment