Commit Graph
8 Commits
Author SHA1 Message Date
Michal Kváček 89d08f52af Merge branch 'enumerations' into custom_fields 2016-01-26 23:22:08 +01:00
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 aede7b8a01 FEATURE: add possible values and custom field resource 2016-01-26 23:18:39 +01:00
Michal Kváček dc5821649a FEATURE: add enumeration class for custom field types 2016-01-26 11:14:09 +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 0ef7a12691 FEATURE: add baseclass for each enumeration 2016-01-26 11:12:23 +01:00
Michal Kváček 6af60248e6 FEATURE #1359: add status changing (user management) 2016-01-24 23:38:34 +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