Difference between revisions of "Blacklist getDetail"

From Catglobe Wiki
Jump to: navigation, search
(Blacklist_getDetail)
(Example)
 
Line 19: Line 19:
  
 
<source lang="javascript">
 
<source lang="javascript">
 +
 
array emails = {"an1@test.com", "an3@test.com"};
 
array emails = {"an1@test.com", "an3@test.com"};
Blacklist_getDetail(emails);//{"an3@test.com": EmailBlacklist}
+
Dictionary d = Blacklist_getDetail(emails);//{"an3@test.com": EmailBlacklist}
 +
EmailBlacklist e = d["an3@test.com"];
 +
print(e.Comment);//comment3
 +
print(e.Date);//2017-08-11 04:13:26
  
 
</source>
 
</source>

Latest revision as of 05:43, 11 August 2017


Blacklist_getDetail

Get detail of emails in blacklist

Syntax

Blacklist_getDetail (array emails);

Arguments

emails: array. Array of emails string

Return type

Dictionary

Example

array emails = {"an1@test.com", "an3@test.com"};
Dictionary d = Blacklist_getDetail(emails);//{"an3@test.com": EmailBlacklist}
EmailBlacklist e = d["an3@test.com"];
print(e.Comment);//comment3
print(e.Date);//2017-08-11 04:13:26