View Single Post
05-09-2009, 10:05 PM
Join Date: Sep 2007
Location: Sweden, Stockholm
Well, that is because first of all, your Loader class does not have a function called loadClass. Secondly, in order to use Loader::loadClass you must either;
1. Declare the function loadClass as static like so:
public static function
2. Have the Loader class instanced somewhere before you call the function, which will allow you to call Loader:loadClass without having the loadClass function as static.
Also, your pagination class should not rely on Database in order to paginate.
View Public Profile
Send a private message to Tanax
Visit Tanax's homepage!
Find More Posts by Tanax