Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120760539
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
Sun, Jul 6, 20:40
Size
381 B
Mime Type
text/x-php
Expires
Tue, Jul 8, 20:40 (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