Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120472923
PhutilConsoleConcatenatedView.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, Jul 4, 15:31
Size
381 B
Mime Type
text/x-php
Expires
Sun, Jul 6, 15:31 (2 d)
Engine
blob
Format
Raw Data
Handle
27180351
Attached To
rPHU libphutil
PhutilConsoleConcatenatedView.php
View Options
<?php
final
class
PhutilConsoleConcatenatedView
extends
PhutilConsoleView
{
private
$items
=
array
();
public
function
addItem
(
$item
)
{
$this
->
items
[]
=
$item
;
return
$this
;
}
protected
function
drawView
()
{
$output
=
array
();
foreach
(
$this
->
items
as
$item
)
{
$output
[]
=
$this
->
flattenView
(
$item
);
}
return
implode
(
''
,
$output
);
}
}
Event Timeline
Log In to Comment