Upgrade: Create a "database" factory class to migrate database subsystem to 2.0
Reported by dleffler | 2011-05-29 02:55:48 UTC | in 2.0.2 (closed)
When working with an IDE which uses PHPDoc for help and suggestions, it needs appropriate PHPDoc comments in the source to find the appropriate information. If we had a "database" class which each of the specific databases (mysqli, etc...) extended/subcalssed, it would fix this break.
The current work-around is that I've typed the 'subsystem/database.php' file with the 'connect' method returning a 'mysqli_database' object since we currently only support mysqli databases.
Comments and changes to this ticket
-

expNinja 2011-06-02 20:57:02 UTC
(from [5b69eade623383a843516ed78fc3005cc16ba3e4]) [#198] Add PHPDoc comments to some base files. Fix some parameters in the eLog function. for PHPDoc type of database to msqli_database since it's the only one we use at this point. https://github.com/exponentcms/exponent-cms/commit/5b69eade623383a8...
-

expNinja 2011-07-08 19:57:29 UTC
(from [94c598a2a707f7c1ca8efe9a295cc3c9ec6ad076]) Remove foreign calls from database engines (MySql in PG, MySql in MySqlI, etc...) Keep things pure by using DB specific call in that engine (only minor changes) [#198] https://github.com/exponentcms/exponent-cms/commit/94c598a2a707f7c1...
-

expNinja 2011-07-08 21:54:07 UTC
(from [9da5733358966ce4591d4691fbd8b8d940bbfbf1]) Changes mysql_error calls to mysqli_error calls (interim measure) [#198] https://github.com/exponentcms/exponent-cms/commit/9da5733358966ce4...
-

expNinja 2011-07-08 21:54:07 UTC
(from [3ed564b4e1a345521534ef3d0747393480290b0f]) Changes mysql_escape_string calls to ...real_escape_string function with condition call based on db engine [#198] https://github.com/exponentcms/exponent-cms/commit/3ed564b4e1a34552...
-

expNinja 2011-07-09 00:30:13 UTC
(from [c236d0875adb97fec8b322e7835f410610bc4ce3]) Changes mysqli_error() calls to $db->error() to pass details to selected db engine [#198] https://github.com/exponentcms/exponent-cms/commit/c236d0875adb97fe...
-

expNinja 2011-07-09 00:41:49 UTC
(from [6e7ec235fe5ca3aa10e29b8c3e2caab8c769c1b8]) Changes another mysqli_error() calls in installation to $db->error() to pass details to selected db engine [#198] https://github.com/exponentcms/exponent-cms/commit/6e7ec235fe5ca3aa...
-

expNinja 2011-07-14 03:24:51 UTC
(from [0b2dbe143aea207cdbf3afc8f2d5ebd9a484d422]) Abstracts mysqli_real_escape_string into the database engine as "escapeString" function to allow for future expansion of database engines. [#198] https://github.com/exponentcms/exponent-cms/commit/0b2dbe143aea207c...
-

expNinja 2011-09-30 19:13:24 UTC
(from [d2d028391139381728b490ebe98975308da37ede]) Initial conversion of database subsystem to 2.0 format [#198] https://github.com/exponentcms/exponent-cms/commit/d2d0283911393817...
-

expNinja 2011-09-30 19:24:54 UTC
(from [9ed744cf029b23682dfd90fe27b4b5326d2c6353]) Actually the database subsystem migration to 2.0 requires the files (duh!) [#198] https://github.com/exponentcms/exponent-cms/commit/9ed744cf029b2368...
-

expNinja 2011-09-30 20:04:03 UTC
(from [c3ee4abaaee7f20fc7ceecd001a60f0f894a6d58]) Tweaks to new 2.0 expDatabase subsystems and drivers, also deletes old database subsystem and drivers [#198] https://github.com/exponentcms/exponent-cms/commit/c3ee4abaaee7f20f...
-

expNinja 2011-09-30 20:54:07 UTC
(from [bfcf017194253f1fa7a19f158c7b321ba99f9bb0]) More tweaks to new 2.0 expDatabase subsystem, also moves database abstract class into expDatabase [#198] https://github.com/exponentcms/exponent-cms/commit/bfcf017194253f1f...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS
People watching this ticket
Referenced by
-
198
Create a "database" parent class to subclass the individual database classes
(from [5b69eade623383a843516ed78fc3005cc16ba3e4])
[#198] ...