My Pagination Class
View Single Post
12-17-2007, 12:49 PM
Join Date: Sep 2007
Location: Sweden, Stockholm
Well, first of all, you declare the variables with public, but you seem to have forgotten than for the functions. They need to be declared aswell, with private/protected/public.
Also, I would keep the variables as private, and the functions as public.
The links (next link/prev link, etc), shouldn't be an actual link that is returned. Because the user might not want to have ?page, but only ?p=
Anyways, I'll look more deeper when I get home!
View Public Profile
Send a private message to Tanax
Visit Tanax's homepage!
Find More Posts by Tanax