General information
Title:
Checking for the existence of a method
Does somebody know how to find out wether a certain method exists for a certain object.
I have used amembers() but it was to slow.
Now i just fire the method, even if it doesn't exist. An alternative error-routine makes sure no error is displayd when the method doesn't exist. This is much too dirty.
Why do i want this.
I made some user defined events. For instance an event called FinalValid contains a validation for when the record is saved. So in the save-button i want to trigger all the FinalValid events for the objects which have one.
Marco.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only