Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
HashmapFilter.js
01 /** @const */
02 var HashmapFilter =
03 {
04 /**
05 * @param {*} attrValue Original value
06 * @param {!Object} map Hash map
07 * @param {boolean} strict Whether this map is strict (values with no match are invalid)
08 * @return {*} Filtered value, or FALSE if invalid
09 */
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 };