Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F438556
PHUICalendarWidgetView.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
783 B
Referenced Files
None
Subscribers
None
PHUICalendarWidgetView.php
View Options
<?php
final
class
PHUICalendarWidgetView
extends
AphrontTagView
{
private
$header
;
private
$list
;
public
function
setHeader
(
$date
)
{
$this
->
header
=
$date
;
return
$this
;
}
public
function
setCalendarList
(
PHUICalendarListView
$list
)
{
$this
->
list
=
$list
;
return
$this
;
}
public
function
getTagName
()
{
return
'div'
;
}
public
function
getTagAttributes
()
{
require_celerity_resource
(
'phui-calendar-list-css'
);
return
array
(
'class'
=>
'phui-calendar-list-container'
);
}
protected
function
getTagContent
()
{
$header
=
id
(
new
PHUIHeaderView
())
->
setHeader
(
$this
->
header
);
$box
=
id
(
new
PHUIObjectBoxView
())
->
setHeader
(
$header
)
->
setFlush
(
true
)
->
appendChild
(
$this
->
list
);
return
$box
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, May 4, 2:39 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
63200
Default Alt Text
PHUICalendarWidgetView.php (783 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment