Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F110694606
PhabricatorStringMailStamp.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, Apr 27, 14:25
Size
443 B
Mime Type
text/x-php
Expires
Tue, Apr 29, 14:25 (2 d)
Engine
blob
Format
Raw Data
Handle
25802976
Attached To
rPH Phabricator
PhabricatorStringMailStamp.php
View Options
<?php
final
class
PhabricatorStringMailStamp
extends
PhabricatorMailStamp
{
const
STAMPTYPE
=
'string'
;
public
function
renderStamps
(
$value
)
{
if
(
$value
===
null
||
$value
===
''
)
{
return
null
;
}
$value
=
(
array
)
$value
;
if
(!
$value
)
{
return
null
;
}
$results
=
array
();
foreach
(
$value
as
$v
)
{
$results
[]
=
$this
->
renderStamp
(
$this
->
getKey
(),
$v
);
}
return
$results
;
}
}
Event Timeline
Log In to Comment