aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Access/AccessList.php
Commit message (Collapse)AuthorAgeFilesLines
* Zotlabs: More type safety for AccessList class.Harald Eilertsen2023-07-191-11/+11
| | | | | | | | | | | Add more type declarations to class attributes and functions. This should ensure that only strings and null values can be assigned to the various access list members. This is still a bit loose, as we should probably aim for lists of channel or group id's instead of a generic type like a string. I'll leave that for later, though.
* Zotlabs: Improve type safety for AccessList class.Harald Eilertsen2023-07-181-3/+37
| | | | | | | | | | | | | Add type annotations for constructor and set* methods, and throw an exception if the passed in arrays are missing required keys. This means that both invalid input types and missing keys will throw and exception rather than just die with a runtime error. There's not checks to verify that the contents of the required array keys are valid or make sense, though. They are just assigned, and returned as is by the get method when requested. Also, the set_from_array method is not well tested at the moment.
* fix php warningsMario2022-10-121-0/+5
|
* get devHilmar R2021-03-011-2/+1
|
* :bulb: Add source documentation from recent conversations.Klaus Weidenbach2018-01-051-2/+6
| | | | | | There have been some conversations in the last weeks which explained several parts of the code, so add it to the source code documentation. Also some other small source code documentation improvements.
* :white_check_mark::bulb: Add Unit Tests for AccessList class.Klaus Weidenbach2017-05-011-30/+98
| | | | Also some Doxygen docu for this class.
* retry the move of AccessList to composer format (one or more third-party ↵redmatrix2016-02-211-0/+92
| | | | plugins will likely break as a result)
* Revert "move accesslist class to namespace"redmatrix2016-02-201-148/+0
| | | | This reverts commit a9711895cf254a0ca34b1e3f7c8e75bb832e6973.
* move accesslist class to namespaceredmatrix2016-02-201-0/+148