When you code the following you get a methods that are completely available to all users of the instance.
::method mymethod attribute
When you code the following you get methods that are private to the instance.
::method mymethod attribute private
It seems that I am always creating methods that are a hybrid. Like this.
::method mymethod
expose mymethod
return mymethod
::method 'mymethod=' private
expose mymethod
use arg mymethod
return
What I propose it to create a new method attribute keyword option to create this same affect.
::method mymethod attribute hybrid
You would code either PRIVATE or HYBRID on the method directive, but not both.
If someone has a better keyword for this that would be acceptable.
Anonymous
Logged In: YES
user_id=1125291
Originator: NO
I have something similar in mind with RFE [ 1098932 ], but I'll leave this open as a separate item for tracking purposes.
Logged In: YES
user_id=1125291
Originator: NO
Implemented as part of [ 1098932 ]