Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97910996
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
Tue, Jan 7, 11:39
Size
824 B
Mime Type
text/x-php
Expires
Thu, Jan 9, 11:39 (2 d)
Engine
blob
Format
Raw Data
Handle
23437136
Attached To
rPH Phabricator
AphrontCalendarDayEventView.php
View Options
<?php
final
class
AphrontCalendarDayEventView
extends
AphrontView
{
private
$epochStart
;
private
$epochEnd
;
private
$name
;
private
$uri
;
public
function
setName
(
$name
)
{
$this
->
name
=
$name
;
return
$this
;
}
public
function
getName
()
{
return
$this
->
name
;
}
public
function
setURI
(
$uri
)
{
$this
->
uri
=
$uri
;
return
$this
;
}
public
function
getURI
()
{
return
$this
->
uri
;
}
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