Commit Graph

64 Commits

Author SHA1 Message Date
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
bMancone
4de7854629 // Fix ObjectModel->associateTo()
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8002 b9a71923-0436-4b27-9f14-aed3839534dd
2011-08-10 15:16:37 +00:00
rMalie
7411db9a69 // Merge -> revision 7979
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7981 b9a71923-0436-4b27-9f14-aed3839534dd
2011-08-10 08:36:17 +00:00
rMalie
f48792054a // Fix some bugs on multistore
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7942 b9a71923-0436-4b27-9f14-aed3839534dd
2011-08-08 15:24:21 +00:00
rMalie
239f92eaf1 // Merge -> revision 7906
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7909 b9a71923-0436-4b27-9f14-aed3839534dd
2011-08-05 13:26:44 +00:00
rMalie
f2b5ee338b // Merge -> revision 7875
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7877 b9a71923-0436-4b27-9f14-aed3839534dd
2011-08-03 16:16:49 +00:00
rMalie
c945049ef1 // Some fix + improve ergonomy + Tools::isMultiShopActived() moved in Shop class + 1.5.0.1 version in install script
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7842 b9a71923-0436-4b27-9f14-aed3839534dd
2011-08-02 09:54:23 +00:00
rMalie
a875fecb20 // MERGE with 1.4 r7770
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7776 b9a71923-0436-4b27-9f14-aed3839534dd
2011-07-28 09:20:57 +00:00
rMalie
be4811aa6e // REVERT MERGE
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7761 b9a71923-0436-4b27-9f14-aed3839534dd
2011-07-27 13:35:06 +00:00
rMalie
e159c925d8 // MERGE with trunk revision 7754
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7759 b9a71923-0436-4b27-9f14-aed3839534dd
2011-07-27 12:48:42 +00:00
tDidierjean
462c362191 // removing cookie from product customization
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7680 b9a71923-0436-4b27-9f14-aed3839534dd
2011-07-21 14:38:04 +00:00
rMalie
42da42f827 // Context part 16 (shops)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7664 b9a71923-0436-4b27-9f14-aed3839534dd
2011-07-20 12:08:15 +00:00
rMalie
4ae81d8acd // Context part 15
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7658 b9a71923-0436-4b27-9f14-aed3839534dd
2011-07-19 16:17:14 +00:00