aboutsummaryrefslogtreecommitdiffstats
path: root/admin/page/index.php
AgeCommit message (Collapse)AuthorFilesLines
2018-04-01Use method "buildByAttribute" to create Item instances for item listingThomas Lange1-5/+5
This commit significantly reduces the number of database queries required to display a list of pages, posts or users. This could be achieved by using "SELECT * FROM […]" in combination with the new implemented factory method "buildByAttribute". Previously, the first database query returned an array of unique item IDs that were then passed to the factory method "build" within the "foreach" loop which caused the application to make an additional database query like "SELECT * FROM […] WHERE id = {current_id}" for every single item ID to get it's payload data. Since this commit, this additional query for every item is not necessary anymore.
2017-10-24Some comments have been updated, unnecessary whitespace at the end of some ↵Thomas Lange1-1/+1
files was removed and some missing PHP closing tags were added.
2017-04-19Comments added and unnecessary "abs" function calls removed.Thomas Lange1-1/+4
2017-04-11The control structures "require_once" have been replaced by a simple ↵Thomas Lange1-1/+1
"require" (except within the 403.php and 404.php where it makes sense, because these files can be directly called or included).
2017-04-11Class "ExceptionHandler" has been removed and several files has been changed.Thomas Lange1-1/+1
2017-04-11Methods "error403" and "error404" has been added to the "Application" class; ↵Thomas Lange1-1/+1
several files has been changed.
2017-02-24Initial commit.v1.0Thomas Lange1-0/+76