[ Index ] |
PHP Cross Reference of phpBB-3.3.11-deutsch |
[Summary view] [Print] [Text view]
1 /** @const */ 2 var HashmapFilter = 3 { 4 /** 5 * @param {*} attrValue Original value 6 * @param {!Object} map Hash map 7 * @param {boolean} strict Whether this map is strict (values with no match are invalid) 8 * @return {*} Filtered value, or FALSE if invalid 9 */ 10 filter: function(attrValue, map, strict) 11 { 12 if (attrValue in map) 13 { 14 return map[attrValue]; 15 } 16 17 return (strict) ? false : attrValue; 18 } 19 };
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sat Nov 4 14:26:03 2023 | Cross-referenced by PHPXref 0.7.1 |