Just focus twitterratelimit.class.php
go end of the page you would see an example class. and there is also an example below of the example class. Stay focus there. You will understand everything in couple of seconds.
Sorry for uncommented lines, I haven't enough time while I'm writing this classes. But you can reach me anytime through mail. Feel free to ask anything about it.
Feyyaz Esatoglu <firstname.lastname@example.org>