2006 Jun 12 12:15 PM
Hello Every1,
I have method which is defined as 'PROTECTED' in a class. I need to use the same in my function module. So please let me know how to use it.
Best Regards,
Siva.
2006 Jun 12 12:16 PM
Hello,
You can't use a protected method except from within the class itself, or within one of the subclasses. This means you can't use the method from within in a function module.
Regards,
John.
Hello Every1,
I have method which is defined as 'PROTECTED' in a class. I need to use the same in my function module. So please let me know how to use it.
Best Regards,
Siva.
2006 Jun 12 12:16 PM
Hello,
You can't use a protected method except from within the class itself, or within one of the subclasses. This means you can't use the method from within in a function module.
Regards,
John.
2006 Jun 12 12:23 PM
You will have to create a sub class of this class and create a public method which in turn calls the protected method. That is the only work around.
However, there is a reason, why its been protected.
What method of the which class you are trying to use, may be there is a work around.
Regards,
Ravi
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |