Eric Merrill
75e74407a3
MDL-57859 persistent: Add a combined create/update call
2017-02-13 22:33:42 -05:00
Damyon Wiese
6b206c5309
MDL-57273 persistent: Dont allow set and get for helpers
...
Helper methods (ie custom methods on a persistent) should not be callable via set() or get() even
if they start with set_ or get_. They are not the same as custom getters and setters for real persistent
properties.
2017-01-24 15:39:53 +08:00
Damyon Wiese
d5818626c0
MDL-57273 persistent: Improved style
...
Use \blah::class instead of '\\blah' in define_class functions.
Allow chaining of setters by returning $this.
2017-01-23 11:58:59 +08:00
Damyon Wiese
599acbe776
MDL-57273 persistent: protected custom getters
...
(and setters).
2017-01-20 12:56:19 +08:00
Damyon Wiese
9c91a9593d
MDL-57273 core: Remove magic setters and getters
...
Remove the magic getters and setters from persistent. They are deprecated only in the persistent
class for competencies.
2017-01-20 12:56:19 +08:00
Frederic Massart
2198e0e94a
MDL-57273 core: Migrating persistent from core_competency into core
2017-01-20 12:56:18 +08:00