Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99443753
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
Fri, Jan 24, 15:02
Size
443 B
Mime Type
text/x-php
Expires
Sun, Jan 26, 15:02 (2 d)
Engine
blob
Format
Raw Data
Handle
23802146
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