Commit Graph

34 Commits

Author SHA1 Message Date
rMalie
af855321ab // Fix default id lang in localization packs 2012-06-20 08:36:51 +00:00
rMalie
954c0cb79d // Add DESC keyword to executeS() filter #PSFV-791 2012-04-18 07:52:40 +00:00
rMalie
1dc629a949 // Welcome 2012² 2012-02-23 16:33:10 +00:00
rMalie
e1714942f3 [*] Classes : table prefix is no longer required in Db::getInstance()->delete() method 2012-02-16 14:54:52 +00:00
mDeflotte
b115ec614a // Allow query from Db::excuteS, to start by an open parenthese 2012-02-10 08:20:06 +00:00
rMalie
4814f3f875 // Fix Db->query (property value is set) 2012-01-27 13:39:35 +00:00
rMalie
be5fd03749 // Normalize 2012-01-24 16:24:01 +00:00
rMalie
bc81497705 // Add argument in Db->insert() and Db->update() to skip prefix 2012-01-24 08:51:23 +00:00
rMalie
cc841b6969 [*] Classes : Db::autoExecute() call are now replaced by Db::insert() or Db::update() 2012-01-23 17:41:02 +00:00
mMarinetti
d244e3cd5e [-] core : minor fix in Db->escape function to make it compatible to the phpdoc (2nd parameter html_ok is now optional) 2012-01-16 10:43:50 +00:00
rMalie
1faaf46f2b // Check if at least one table with same prefix already exists in new installer 2012-01-05 14:28:10 +00:00
rMalie
e28d3ce80f // Fix PrestaShopException typo 2012-01-04 13:53:19 +00:00
rMalie
3ba3da9774 // Fix access table for old mysql configurations 2011-12-23 00:05:39 +00:00
mMarinetti
33d3e94ed8 // removed useless Tools::displayError() 2011-12-21 19:58:01 +00:00
rMalie
a33c19ce94 // Norm + improve ObjectModel 2011-12-16 14:55:05 +00:00
rMalie
8cb26f81e6 // Fix DbQuery for PHP < 5.2 2011-12-08 16:32:59 +00:00
rMalie
27b198dcd6 [*] Classes: Db->execute() now return always a boolean. Use Db->query() instead. 2011-12-06 15:41:34 +00:00
rMalie
3eb2956be2 // Db::autoExecute() return a boolean 2011-12-05 17:29:45 +00:00
rMalie
0644fa70bb // Test PDO as first choice in Db class 2011-12-05 17:01:48 +00:00
lLefevre
db3feb8df4 // added list of tables and attributes in AdminRequestSqlController + change export request 2011-11-30 13:24:43 +00:00
mMarinetti
5f626bffbe // check if PS_MODE_DEV is defined before checking its value 2011-11-22 14:32:58 +00:00
rMalie
dae1e70e5f [*] Classes: CMS::getCMSPages() now select only data from cms table if id_lang is null
[*] Classes: Db::autoExecute() can now take INSERT IGNORE as third argument
[*] Classes: Tag::addTags() can now take an array of tags as argument (instead of strings separated by comas)
2011-11-10 13:45:41 +00:00
rMalie
560be7bffe // Fix Db::executeS() now trigger Db::execute() method if the query begin with select|show|explain keyword 2011-11-10 09:59:39 +00:00
rMalie
1da53de84b // little fix 2011-10-19 14:58:33 +00:00
rMalie
41140ad21d [+] Classes: Db::autoExecute() can now use SQL functions as values (use array('type' => 'sql', 'value' => 'SQL_FCT()') 2011-10-19 14:35:05 +00:00
rMalie
cf4db864d3 [+] Classes: add PDO support if extension is activated
[*] Classes: add engine check (innodb)
2011-10-13 15:00:08 +00:00
rMalie
172efaabd7 [-] MO: fix blocktopmenu install 2011-10-11 11:28:31 +00:00
rMalie
3574f0a923 // Add exceptions in db classes + normalize some files + split defines.inc file 2011-10-11 10:04:23 +00:00
rMalie
9c17d2a9e7 [*] Classes: refactoring of cache classes 2011-10-10 14:45:27 +00:00
rMalie
9510337b1d // Remove bad _SQL_USE_SLAVE_ uses + normalize Db->executeS(), Db->execute() and Db->numRows() names 2011-10-10 12:18:56 +00:00
mDeflotte
59dfcb3609 [*] All : Now autoExecute allow inserting multiple row 2011-10-07 12:55:34 +00:00
rMalie
91083e190c // Merge -> revision 8800 2011-09-27 14:30:06 +00:00
rMalie
8c8eb83239 // Fix install with Db 2011-09-21 07:46:12 +00:00
rMalie
ae8fe141a5 [+] Classes: add DbQuery class in order to build queries (usefull when working with chunks of queries) 2011-09-20 16:14:19 +00:00