You'll want to make these functions static member functions of the version class. Since we can't really mark them static with php4 that means just putting them in the version class and making sure they don't refer to $this. There should be other examples of this with calls to functions in the maintainer class in sidebar_admin.php.
Chris
On Sunday 30 July 2006 9:20 am, Alexander Nicolaysen Sørnes wrote:
Add functions to get the number and per centage of versions with a given rating. These will be used in my next patch.
Regards,
Alexander N. Sørnes