View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004926 | OXID ERP Interface | OXID ERP Interface - sub | public | 2013-02-13 11:00 | 2023-11-17 14:21 |
| Reporter | michael_keiluweit | Assigned To | |||
| Priority | normal | Severity | trivial | Reproducibility | always |
| Status | assigned | Resolution | open | ||
| Product Version | 2.11.1_54476 | ||||
| Summary | 0004926: maybe old php style by using class constants | ||||
| Description | I saw this in the class oxERPBase: abstract class oxERPBase { static $ERROR_USER_WRONG = "ERROR: Could not login"; static $ERROR_USER_NO_RIGHTS = "Not sufficient rights to perform operation!"; If I am right, we could use the "new" way: abstract class oxERPBase { const ERROR_USER_WRONG = "ERROR: Could not login"; const ERROR_USER_NO_RIGHTS = "Not sufficient rights to perform operation!"; | ||||
| Additional Information | http://www.php.net/manual/en/language.oop5.constants.php | ||||
| Tags | Solution Provided | ||||