Tags: bertugfahriozer/ci4commonModel
Tags
implement CI4 events, refactor PSR-4 structure and update docs - Refactored package structure: moved CommonModel.php to src/ directory and updated namespace to 'ci4commonmodel'. - Integrated 'CodeIgniter\Events\Events::trigger()' for 'create', 'edit', and 'remove' commands. - Updated version tags to @Version 1.2.4. - Upgraded phpDocumentor to v3.9.1 and rebuilt documentation with 'clean' template - Converted PHPDoc @example blocks to Markdown formatted code blocks for better HTML rendering. - Fixed linter warnings and namespace references in readme.md.
Improves CommonModel return types and adds DB guide Updates the `research` and `notWhereInList` functions in `CommonModel` to return `object|null` instead of just `object`, indicating the possibility of no results. Adds a troubleshooting guide to the README for configuring multiple database connection groups in CodeIgniter 4, explaining the root cause of connection errors and providing a solution by defining the database groups in `app/Config/Database.php`.
Adds CommonModel Library documentation Adds a comprehensive README.MD file to document the CommonModel library for CodeIgniter 4. This documentation includes installation instructions, usage examples for various methods, and information on table and database management features.
Added new functions and improvements for database management - Removed WhereWithJoins method - Added functions for creating/dropping tables, adding/removing columns, renaming tables, and updating fields - Added function to truncate all data from a table - Added support for listing, creating, and deleting tables and databases - Added function to list table columns - Added functions to drop primary and foreign keys - Updated code comments and usage examples throughout
PreviousNext