Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106126497
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
Sat, Mar 22, 19:37
Size
443 B
Mime Type
text/x-php
Expires
Mon, Mar 24, 19:37 (2 d)
Engine
blob
Format
Raw Data
Handle
25118776
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