aboutsummaryrefslogtreecommitdiffstats
path: root/admin/post/index.php
AgeCommit message (Collapse)AuthorFilesLines
2021-06-17Merge branch 'master' into 'optimization'optimizationThomas Lange1-41/+31
2021-06-14Remove more redundant try/catch blocksThomas Lange1-38/+29
Remove all try/catch blocks where the exception handling did not differ from the exception handler already defined by "set_exception_handler".
2021-06-13Add configuration settings (admin prefixes)Thomas Lange1-2/+2
Introduce the following configuration settings to make it possible to use different settings for the number of displayed items and ordering on the administration areas overview pages. ADMIN.PAGE.LIST_SIZE ADMIN.POST.LIST_SIZE ADMIN.USER.LIST_SIZE ADMIN.PAGE.LIST_SORT ADMIN.POST.LIST_SORT ADMIN.USER.LIST_SORT
2019-10-29Remove PHP closing tags and add LF to text filesThomas Lange1-1/+0
Remove the unnecessary PHP closing tags and ensure that *all* text files ending with a LF character.
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