More actions
Nguyenduyan (talk | contribs) |
Nguyenduyan (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
= Blacklist_getDetail = | = Blacklist_getDetail = | ||
Get detail of emails in blacklist | |||
== Syntax == | == Syntax == | ||
Line 19: | Line 19: | ||
<source lang="javascript"> | <source lang="javascript"> | ||
array emails = {"[email protected]", "[email protected]"}; | array emails = {"[email protected]", "[email protected]"}; | ||
Blacklist_getDetail(emails);//{"[email protected]": EmailBlacklist} | Dictionary d = Blacklist_getDetail(emails);//{"[email protected]": EmailBlacklist} | ||
EmailBlacklist e = d["[email protected]"]; | |||
print(e.Comment);//comment3 | |||
print(e.Date);//2017-08-11 04:13:26 | |||
</source> | </source> |
Latest revision as of 04: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 = {"[email protected]", "[email protected]"};
Dictionary d = Blacklist_getDetail(emails);//{"[email protected]": EmailBlacklist}
EmailBlacklist e = d["[email protected]"];
print(e.Comment);//comment3
print(e.Date);//2017-08-11 04:13:26