Menu

#213 Provide a Hybrid Option on the ::Method Directive

closed
5
2012-08-14
2007-07-20
No

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.

Discussion

  • Rick McGuire

    Rick McGuire - 2007-07-27

    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.

     
  • Rick McGuire

    Rick McGuire - 2007-08-07

    Logged In: YES
    user_id=1125291
    Originator: NO

    Implemented as part of [ 1098932 ]

     

Anonymous
Anonymous

Add attachments
Cancel