 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
VinzC
Joined: 18 Nov 2008 Posts: 1
|
Posted: Tue Nov 18, 2008 4:33 pm Post subject: Surrounding pager links with a DIV element |
|
|
Hi.
I'd like to surround the pager's links with a DIV element. Examples suggest to echo "DIV" before rendering the pager but I'd prefer the pager to do that alone since I'll be mostly using CSS to distinguish between pagers. So I guess I should derive some class. But should I derive class Structure_Datagrid_Rendering_Pager or class Pager?
Thanks for any suggestion/hint. |
|
| Back to top |
|
 |
mark

Joined: 07 Jan 2007 Posts: 1053
|
Posted: Tue Nov 18, 2008 7:41 pm Post subject: Re: Surrounding pager links with a DIV element |
|
|
| VinzC wrote: | | So I guess I should derive some class. But should I derive class Structure_Datagrid_Rendering_Pager or class Pager? |
Well, it depends on whether you're exclusively using Pager with Structures_DataGrid or not. If that's the case, I'd overload the S_DG_R_P class, otherwise the Pager class (or maybe one of its subclasses). |
|
| Back to top |
|
 |
veilig
Joined: 14 Apr 2008 Posts: 7
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|