Commit Graph

76 Commits

Author SHA1 Message Date
rMalie
c6f10b628c // Use property_exists instead of array_key_exists in ObjectModel
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12056 b9a71923-0436-4b27-9f14-aed3839534dd
2012-01-03 12:57:16 +00:00
tDidierjean
0d1c6fc8fd // getProductLink fix and optimization
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12028 b9a71923-0436-4b27-9f14-aed3839534dd
2012-01-03 09:22:42 +00:00
rGaillard
99eccea21f // little fix validateController
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11969 b9a71923-0436-4b27-9f14-aed3839534dd
2012-01-02 10:11:18 +00:00
rGaillard
f64d1dfd1a // Small changes on validateController
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11967 b9a71923-0436-4b27-9f14-aed3839534dd
2012-01-02 10:09:36 +00:00
rMalie
a337f004c1 // Fix null values ...
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11726 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-22 23:20:30 +00:00
rMalie
e59f33705a // Fix profiles creation
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11649 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-22 17:40:27 +00:00
mDeflotte
847883c387 // BugFix : Missing params multilang
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11486 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-21 14:07:42 +00:00
rGaillard
71d878a99c git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11472 b9a71923-0436-4b27-9f14-aed3839534dd 2011-12-21 11:42:30 +00:00
aKorczak
3527399c24 [-] WS: Norm fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11413 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-20 14:38:18 +00:00
rMalie
33b340dcaa // Fix duplication of images
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11395 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-20 09:40:59 +00:00
rMalie
1d2f9e44c4 // Improve collections : where() method reworked (prototype changed) + validation of fields
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11383 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-19 16:57:28 +00:00
rMalie
b7ae37f6d7 // Change prototype of methods from(), leftJoin(), innerJoin(), leftOuterJoin() and naturalJoin() for DbQuery class
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11351 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-19 11:13:13 +00:00
rMalie
eb14c43722 // Norm + improve ObjectModel
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11305 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-16 14:55:05 +00:00
rMalie
52df492c25 // Remove retrocompatibility stripslashes in ObjectModel
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11282 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-15 17:02:55 +00:00
rMalie
deb4932850 [*] Classes: refactoring of ObjectModel::validateFields() && ObjectModel::validateFieldsLang()
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11273 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-15 16:19:55 +00:00
rMalie
259eeb6c27 // Fix lang bug on collections + use definitions on hydrateCollection
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11260 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-15 13:56:15 +00:00
rMalie
13a70e1044 [*] Classes: ObjectModel::getTranslationsField|Child() is now deprecated, use ObjectModel::getFieldsLang() if need instead
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11256 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-15 13:24:03 +00:00
rMalie
49129f85dc // Format definitions
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11230 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-14 17:21:18 +00:00
rMalie
d30b4bea1b // Format definitions
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11174 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-13 13:43:16 +00:00
rMalie
03bd438c7d // Format definitions
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11173 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-13 13:41:54 +00:00
rMalie
dc19003820 // Improve ObjectModel definitions (test on products)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11135 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-12 13:53:51 +00:00
rMalie
319e623727 // Retrocompatibility in ObjectModel
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11085 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-09 15:50:12 +00:00
rMalie
d0c1239c17 // Remove $this->table and $this->identifier from objectModels + normalize
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11076 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-09 14:05:24 +00:00
rMalie
b56d98b66a // Remove unused $tables property from ObjectModel + improve Cache
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11071 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-09 10:24:48 +00:00
rMalie
edc0b2c6ca // Improve ObjectModel + normalize
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11049 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-08 14:13:22 +00:00
rMalie
4924764888 // Improve ObjectModel + normalize
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11048 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-08 13:53:54 +00:00
rMalie
3d1176686f // Fix collection in cartRule
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11018 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-07 09:11:43 +00:00
rMalie
0bf721b108 // Fix return of AssociateTo method
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10995 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-06 14:59:00 +00:00
fSerny
1a74889015 [*] PROJECT - Dynamic hooks in ObjectModel retrieve object in param - Dynamic hooks have been added to AdminController
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10951 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-05 17:20:40 +00:00
rMalie
6cefe4465d // Remove $langMultiShop from all classes, and add 'multishop' in $definition instead
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10922 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-05 15:04:09 +00:00
rMalie
10247e8e42 [+] Classes: Add Collection class (synthesis of DbQuery + ObjectModel::hydrateCollection) and add support of static $definition property in ObjectModel
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10834 b9a71923-0436-4b27-9f14-aed3839534dd
2011-12-01 14:47:28 +00:00
dSevere
577aa781bc // Stock Available : Add shared management for group of shops
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10812 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-30 16:28:06 +00:00
vChabot
4b15da6656 // attributes position works fine
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10433 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-22 14:53:50 +00:00
rMalie
9d10de0848 // Merge -> 10309
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10333 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-21 11:05:10 +00:00
rGaillard
53d85ae134 // Shop association improvements
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10298 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-20 17:13:36 +00:00
rMalie
d38bbc2ea5 // Fix during language install (now support table with uppercase prefix on windows)
// Add is_native to hook table in db.sql file

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9989 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-09 15:01:12 +00:00
rMalie
14c94558a6 // Some fix on objectModel children classes (fields not valid, etc.)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9985 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-09 12:16:37 +00:00
mMarinetti
f0b9fed843 [*] Project : ObjectModel die2PrestashopException
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9832 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-03 13:39:41 +00:00
fSerny
0ba4fe9c7e [*] PROJECT : New Module API (part 1)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9790 b9a71923-0436-4b27-9f14-aed3839534dd
2011-11-02 10:49:01 +00:00
mDeflotte
f9c4e50c19 [-] BugFix : If a field is empty don't validate this one
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9658 b9a71923-0436-4b27-9f14-aed3839534dd
2011-10-26 16:04:04 +00:00
hAitmansour
d8509b2829 [*] FO BO MO : rename function isMultiShopActivated by isFeatureActive
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9444 b9a71923-0436-4b27-9f14-aed3839534dd
2011-10-19 09:36:12 +00:00
bMancone
9353d5a8bc // ObjectModel : removed exception thrown if identifier is not set
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9222 b9a71923-0436-4b27-9f14-aed3839534dd
2011-10-11 12:06:12 +00:00
rMalie
577221ff08 // Remove bad _SQL_USE_SLAVE_ uses + normalize Db->executeS(), Db->execute() and Db->numRows() names
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9178 b9a71923-0436-4b27-9f14-aed3839534dd
2011-10-10 12:18:56 +00:00
rMalie
b4d436ca21 // Merge -> revision 9061
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9069 b9a71923-0436-4b27-9f14-aed3839534dd
2011-10-05 15:21:55 +00:00
rMalie
9ca40220be // Optimisation ObjectModel + hydrateCollection
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8942 b9a71923-0436-4b27-9f14-aed3839534dd
2011-09-30 16:04:33 +00:00
rMalie
42c5603cc3 [+] Classes: Add ObjectModel::hydrateCollection() in order to transform arrays from sql queries return in list of objects
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8877 b9a71923-0436-4b27-9f14-aed3839534dd
2011-09-29 13:23:54 +00:00
aFolletete
78f6a4e20a [*] Classes : improve performances of "Feature detachable" feature
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8754 b9a71923-0436-4b27-9f14-aed3839534dd
2011-09-24 15:03:21 +00:00
rMalie
03eaee9bf4 [+] Project: it's possible to create new genders, "Miss" gender is now added
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8578 b9a71923-0436-4b27-9f14-aed3839534dd
2011-09-14 15:15:51 +00:00
fBrignoli
7e1ac5572e // validateControler is now deprecated
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8158 b9a71923-0436-4b27-9f14-aed3839534dd
2011-08-23 08:58:07 +00:00
rMalie
3ab2ba9a75 // HTML flag can be used in ObjectModel->getTranslationsFieldsChild() to keep html on language fields
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8026 b9a71923-0436-4b27-9f14-aed3839534dd
2011-08-11 13:39:30 +00:00