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:
Hi all,
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.
Rimvydas
rimvydas.paskevic...@oxid-esales.com
<mailto:rimvydas.paskevic...@oxid-esales.com>
Phone +370 37 333053
Fax +370 37 333054
www.oxid-esales.com <http://www.oxid-esales.com>
_______________________________________________
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