Commit Graph
3 Commits
Author SHA1 Message Date
Michal Kváček bc2bdd38b9 FIX: fix multiple enumeration classes
Enumeration classes shared one static variable which caused sharing data. Main problem was with conflicts in names. This commit divides enumeration into "namespaces". Used namespace is return value from "get_called_class()" function.
2016-01-26 23:19:42 +01:00
Michal Kváček 2cf9fcae3d REFACTORING: use BaseEnumeration
Classes UserRoles and UserStates are now using new BaseEnumeration class.
2016-01-26 11:13:02 +01:00
Michal Kváček 8fcc5d041c FEATURE: move user roles into separate enumeration.
This commit moves list of user roles into separate class (with own namespace), so we can access this data anywhere from application.
2016-01-24 20:43:41 +01:00