View Single Post
Old 12-17-2007, 12:49 PM   #2 (permalink)
Tanax
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

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!
Tanax is offline  
Reply With Quote