Jump to content


Photo

Determine if a class method has already been called?


  • Please log in to reply
1 reply to this topic

#1 jajtiii

jajtiii
  • Members
  • PipPipPip
  • Advanced Member
  • 43 posts

Posted 10 July 2006 - 07:57 PM

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

#2 micah1701

micah1701
  • Members
  • PipPipPip
  • Advanced Member
  • 613 posts
  • LocationEllington, CT USA

Posted 10 July 2006 - 08:53 PM

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.
"Confidence in the face of risk."




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users