Difference between revisions of "Blacklist getDetail"
Nguyenduyan (talk | contribs) (Created page with "Category:Blacklist {{HelpFiles}} = Blacklist_getDetail = == Syntax == Blacklist_getDetail (array emails); == Arguments == ''emails'': array. Array of tring emails...") |
Nguyenduyan (talk | contribs) (→Example) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
= Blacklist_getDetail = | = Blacklist_getDetail = | ||
− | + | Get detail of emails in blacklist | |
== Syntax == | == Syntax == | ||
Line 11: | Line 11: | ||
== Arguments == | == Arguments == | ||
− | ''emails'': array. Array of | + | ''emails'': array. Array of emails string |
== Return type == | == Return type == | ||
− | + | Dictionary | |
== Example == | == Example == | ||
<source lang="javascript"> | <source lang="javascript"> | ||
− | array emails = {" | + | |
− | Blacklist_getDetail(emails);//{EmailBlacklist | + | 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 | ||
</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