-
Type: Bug Report
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.2.1-RC1
-
Component/s: Data Management
-
Labels:None
-
Change Log Group:Changed
-
Change Log Message:Made protected methods "kDBBase" class publicly accessible, when in sub-classes they were public.
-
Story Points:1
-
Copy Issue Key:
-
Patch Instructions:
When developer wants his method to accept both list & item object, then he needs to use kDBBase class for type hinting like this:
public function getBuildParams(kDBBase $object) { $value = $object->GetDBField('FieldName'); // doesn't auto-complete }
However because of all abstract methods in kDBBase class (including method GetDBField above) has protected access they are not auto-completed by IDE.
- mentioned in
-
Wiki Page Loading...