PHP Classes

extra parameters

Recommend this page to a friend!

      Pagination (paging)  >  All threads  >  extra parameters  >  (Un) Subscribe thread alerts  
Subject:extra parameters
Summary:i tested your class and added a few extra parameters
Messages:3
Author:ruben verschueren
Date:2012-04-01 14:41:40
Update:2012-04-02 11:39:49
 

 


  1. extra parameters   Reply   Report abuse  
Picture of ruben verschueren ruben verschueren - 2012-04-01 14:41:41
I tested your class and I for one like it.
However I added a few extra parameters for the previous and next text and the 'active' css class to the Show_Pagination method.

My method header looks like this now:
public function Show_Pagination($link,$get='page',$div_class_name='pagination',$prev='previous',$next='next',$active='cur')

  2. Re: extra parameters   Reply   Report abuse  
Picture of ruben verschueren ruben verschueren - 2012-04-01 14:44:29 - In reply to message 1 from ruben verschueren
ow yeah and I also added a newline (echo 'blabla' ."\n";) to each echo so the resulting html code is more readable

  3. Re: extra parameters   Reply   Report abuse  
Picture of majid ramzani majid ramzani - 2012-04-02 11:39:49 - In reply to message 1 from ruben verschueren
ok :)