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: [email protected]
Web: www.digidesk.de

 

-----Ursprüngliche Daten-----
Datum: 16.08.2012 15:48:21
Von: Stefan Moises <[email protected]>
An: <[email protected]>
Betreff: Re: [oxid-dev-general] Metadata: Problems on registering multipleentries for one class
Vorgang: T-P86G0139EG-98

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
 
 
 
[email protected]
Phone +370 37 333053
Fax +370 37 333054
www.oxid-esales.com

 

_______________________________________________
dev-general mailing list
[email protected]
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
[email protected]
http://www.shoptimax.de
*******************************************

 


 

_______________________________________________ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general 



_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to