Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F111262401
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
Wed, Apr 30, 11:06
Size
570 B
Mime Type
text/x-php
Expires
Fri, May 2, 11:06 (2 d)
Engine
blob
Format
Raw Data
Handle
25886279
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