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 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. 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
Archived
This topic is now archived and is closed to further replies.