Michal Kváček
ff80cbca4f
Merge branch 'enumerations' into static_pages
2016-01-27 16:03:03 +01:00
Michal Kváček
4506b62387
FEATURE: add enumeration for content statuses
2016-01-27 16:02:45 +01:00
Michal Kváček
79d5277a13
Merge branch 'enumerations' into static_pages
2016-01-27 15:27:36 +01:00
Michal Kváček
686ce63ca7
FIX: fix enumerations - empty init caused error
2016-01-27 15:27:15 +01:00
Michal Kváček
76f865566e
Merge branch 'enumerations' into static_pages
2016-01-27 15:17:08 +01:00
Michal Kváček
c4dd6cc229
FIX: fix enumeration for modules.
...
Module does not have ID field. Instead, it has handler field.
2016-01-27 15:16:15 +01:00
Michal Kváček
cc832d5249
FEATURE #1394 : add modules enumeration class
2016-01-27 15:02:22 +01:00
Michal Kváček
f81e8a698b
FEATURE: enumeration can be sorted.
2016-01-27 01:53:53 +01:00
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