List of not overloadable classes

Due to software architecture limitations not all classes can be extended. Following classes are not overloadable:

application/controllers/admin/

(For eShop version 4.6 and bellow these classes are located in ‘admin/’ directory)

  • oxAdminDetails
  • oxAdminList
  • oxAdminView
  • dyn_interface
  • Dynscreen
  • DynExportBase
  • Article_List
  • GenImport_Main
  • Efire
  • Object_Seo
  • Order_List
  • Shop_Config
  • User_List

application/controllers/

(For eShop version 4.6 and bellow these classes are located in ‘views/’ directory)

  • oxView
  • oxStart
  • oxUBase
  • Account
  • aList (can be overloaded but some classes extend it)
  • Details (can be overloaded but some classes extend it)
  • GuestBook
  • User

core/

  • oxBase
  • oxDb
  • oxLegacyDb
  • oxConfig (possible since 4.7 / 5.0 – see here)
  • oxConnectionException
  • oxDynImgGenerator
  • oxErpBase
  • oxErpCsv
  • oxErpGenImport
  • oxExceptionToDisplay
  • oxField
  • oxI18n
  • oxLdap
  • oxList
  • oxOpenIdDb
  • oxOpenIdHTTPFetcher
  • oxSeoEncoder
  • oxSession (possible since 4.7 / 5.0 – see here)
  • oxSuperCfg
  • oxStdClass
  • oxSystemComponentException
  • oxSysRequirements
  • oxUtils (possible since 4.7 / 5.0)
  • oxUtilsFile (possible since 4.7 / 5.0)
  • oxUtilsObject
  • oxUtilsServer (possible since 4.7 / 5.0)
  • oxConfigFile
  • oxRegistry
  • oxShopControl (from 4.7 / 5.0 can be overloaded but oxwidgetcontrol extends it. oxwidgetcontrol is only used by widget.php)

hint

(This applied to eShop version 4.6 and bellow.)

Some classes can be overloaded by setting up this information in config.inc.php directly:

or this, if Modules should be defined in admin or metadata.php as usual:

There is also a GPL autoloader available from WBL Konzept, which can be used to extend classes listed above: https://github.com/OXIDprojects/WBL_Modules_Autoloader/
Additional information and discussion can be found at OXID Community forum
http://www.oxid-esales.com/forum/showthread.php?p=33868

 

0.00 avg. rating (0% score) - 0 votes
1 reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *