jajtiii Posted July 10, 2006 Share Posted July 10, 2006 Is there a way to determine if a class method has already been called (outside of setting some flag within the method to TRUE whenever the method is called and to NOT call it on subsequent attempts)?thanks,jt Quote Link to comment https://forums.phpfreaks.com/topic/14218-determine-if-a-class-method-has-already-been-called/ Share on other sites More sharing options...
micah1701 Posted July 10, 2006 Share Posted July 10, 2006 not that I can think of - other then creating a big long complicated script to check your server logs to see the last time the file containing the class was run.I would go w/ the flag method. Quote Link to comment https://forums.phpfreaks.com/topic/14218-determine-if-a-class-method-has-already-been-called/#findComment-55825 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.