[TYPO3-german] FE-Abfrage einer "Multiple Checkbox"

Stephan Schuler Stephan.Schuler at netlogix.de
Thu Aug 24 00:31:31 CEST 2017


Bei genauerer Betrachtung sollte die zweite Variante wohl besser so aussehen:

> $value = 18;
> $map3= array_map(function($offset) use ($value) { return (bool)(pow(2, $offset) & $value); }, range (0, 31));

Ein "array_flip" und ein "array_fill" weg, dafür nur einmal "range".

Stephan Schuler
Web-Entwickler | netlogix Web Solutions

Telefon: +49 (911) 539909 - 0
E-Mail: Stephan.Schuler at netlogix.de
Web: websolutions.netlogix.de



----------------------------
Neu: Wir sind Amazon Web Services Partner. Mehr erfahren:
https://websolutions.netlogix.de/technologie/amazon-web-services-aws
----------------------------




netlogix GmbH & Co. KG
IT-Services | IT-Training | Web Solutions
Neuwieder Straße 10 | 90411 Nürnberg
Telefon: +49 (911) 539909 - 0 | Fax: +49 (911) 539909 - 99
E-Mail: info at netlogix.de | Web: http://www.netlogix.de

netlogix GmbH & Co. KG ist eingetragen am Amtsgericht Nürnberg (HRA 13338)
Persönlich haftende Gesellschafterin: netlogix Verwaltungs GmbH (HRB 20634)
Umsatzsteuer-Identifikationsnummer: DE 233472254
Geschäftsführer: Matthias Schmidt





More information about the TYPO3-german mailing list