Hey,
just try it with an array, this works ( at least its displayed correct in the admin-section ):
'extend' => array( 'search' => array( 'shoptimax/shoptifind/shoptifind_view_base', 'shoptimax/shoptifind/shoptifind_search' ),
Mit freundlichen Grüßen aus Verl Patrick Nussbaum Technik
|
------------------------------------------------- |
 |
------------------------------------------------- |
digidesk – media solutions Inh. Marco Müller Kapellenweg 76 D-33415 Verl |
------------------------------------------------- |
Telefon: |
+4952469099110 |
Telefax: |
+4952469099120 |
E-Mail: |
tech...@digidesk.de |
Web: |
www.digidesk.de |
Hi OXID devs,
any news on this? We have a problem now updating the latest modules to OXID 4.6.x because of "multiple" inheritance reasons we need to do something like this in the metadata.php (which doesn't work):
'extend' => array( 'search' => 'shoptimax/shoptifind/shoptifind_view_base', 'search' => 'shoptimax/shoptifind/shoptifind_search', ...
This doesn't work either: 'extend' => array( 'search' => 'shoptimax/shoptifind/shoptifind_view_base&shoptimax/shoptifind/shoptifind_search', ...
Background: to avoid code duplication we need a common base class for different views (but can't extend from it because of the "extends xy_parent" logic in OXID... and as you know PHP doesn't support multiple inheritance unfortunately (and don't tell me to use PHP 5.4's "traits" instead :P)
Thanks, Stefan
Am 29.06.2012 17:02, schrieb Rimvydas Paskevicius:
Its nice to see discussing about modules handling, so after some internal discussion we decided to add multiple modules entries for one class support in one of the next releases. Hope this will make life easier for modules writers.
_______________________________________________
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general
--
Mit den besten Grüßen aus Nürnberg,
Stefan Moises
*******************************************
Stefan Moises
Senior Softwareentwickler
Leiter Modulentwicklung
shoptimax GmbH
Guntherstraße 45 a
90461 Nürnberg
Amtsgericht Nürnberg HRB 21703
GF Friedrich Schreieck
Tel.: 0911/25566-0
Fax: 0911/25566-29
moi...@shoptimax.de
http://www.shoptimax.de
*******************************************
_______________________________________________
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general
|
_______________________________________________
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general