aboutsummaryrefslogtreecommitdiffstats
path: root/core/namespace/ORM/Entities/Page.php
AgeCommit message (Collapse)AuthorFilesLines
2021-08-10Add a better mechanism to detect Entity changesThomas Lange1-5/+5
Implement and use a better mechanism to detect changes of attributes of the Entity objects by using a private variable which keeps track of the changed Entity attributes ("properties") via the "set" method. The "insert" and "update" method of the Repository now calls the method "getModifiedKeys" of the Entity class to get a list of properties which have been changed and builds the database query accordingly. This makes the use of "FALSE" as default value for the Entity attributes obsolete, so they have been set to the initial PHP default ("NULL").
2021-07-22Do not redefine properties of Entity classThomas Lange1-3/+0
Do not redefine properties that are already defined in the Entity class.
2021-06-25Reorganize namespacesThomas Lange1-0/+14