View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004529 | OXID eShop (all versions) | 1. ----- eShop frontend ----- | public | 2012-09-18 06:39 | 2012-12-10 14:37 |
Reporter | avenger | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.6.4 revision 49061 | ||||
Fixed in Version | 4.7.2 / 5.0.2 revision 53018 | ||||
Summary | 0004529: Declaring call methods as "private" prevents easy subclassing.... | ||||
Description | I need to suclass the "getClassName( $sClassName )" of oxutilsobject, which is a problem, as the call to "$this->_makeSafeModuleClassParents( $aClassChain, $sParent );" throws an error, because "makeSafeModuleClassParents" is defined as private.... So only to resolve this probleme, you must copy "makeSafeModuleClassParents" also to your subclass module.... Use the "protected" keyword instead. | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||