Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F105947584
PhutilCalendarContainerNode.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
Fri, Mar 21, 00:12
Size
570 B
Mime Type
text/x-php
Expires
Sun, Mar 23, 00:12 (2 d)
Engine
blob
Format
Raw Data
Handle
25079143
Attached To
rPHU libphutil
PhutilCalendarContainerNode.php
View Options
<?php
abstract
class
PhutilCalendarContainerNode
extends
PhutilCalendarNode
{
private
$children
=
array
();
final
public
function
getChildren
()
{
return
$this
->
children
;
}
final
public
function
getChildrenOfType
(
$type
)
{
$result
=
array
();
foreach
(
$this
->
getChildren
()
as
$key
=>
$child
)
{
if
(
$child
->
getNodeType
()
!=
$type
)
{
continue
;
}
$result
[
$key
]
=
$child
;
}
return
$result
;
}
final
public
function
appendChild
(
PhutilCalendarNode
$node
)
{
$this
->
children
[]
=
$node
;
return
$this
;
}
}
Event Timeline
Log In to Comment