Tutorials/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

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:

$this-&gt;aModules = array(‘oxutilsobject’ =&gt; ‘my_oxutilsobject’ );

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

include getShopBasePath.'core/oxconfk.php'; $this-&gt;_loadVarsFromDb( $this-&gt;getShopId, array('aModules') );

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