Jump to content

Archived

This topic is now archived and is closed to further replies.

jajtiii

Determine if a class method has already been called?

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.