Procedural File: function.pagerabc.php
Source Location: /pnRender/plugins/function.pagerabc.phpClasses:
Page Details:
Zikula Application FrameworkTags:
smarty_function_pagerabc [line 62]
|
Smarty plugin
------------------------------------------------------------- Type: function Name: pagerabc Purpose: Displays alphabetical selection links Version: 1.1 Date: April 30, 2005 Author: Peter Dudas <duda at bigfish dot hu> Martin Andersen; API links for ShortURL compliance ------------------------------------------------------------- Changes: 2002/09/25 - created 2005/04/30 msandersen - Added Span with Pager class, uses API for links when link to API module, various tweaks 2005/08/20 msandersen - Changed forwardvars behaviour to be consistent with pager plugin: If forwardvars is not set, ALL the URL vars are forwarded. Fixed bug where if forwardvars weren't specifically set with "module,func" these core vars would not be used at all in the links Added support for use on the Startpage, where the vars are taken from the config starttype, startfunc, and startargs vars. Fixed the example below.
Examples: code: <!--[pagerabc posvar="abc" class_num="dl" class_numon="header" separator=" - " names="A,B;C,D;E,F;G,H;I,J;K,L;M,N,O;P,Q,R;S,T;U,V,W,X,Y,Z"]-->
result <span class="pager"> <a class="header" href="index.php?module=Example&abc=A,B"> A,B </a> - <a class="dl" href="index.php?module=Example&abc=C,D"> C,D </a> - <a class="dl" href="index.php?module=Example&abc=E,F"> E,F </a> - <a class="dl" href="index.php?module=Example&abc=G,H"> G,H </a> - <a class="dl" href="index.php?module=Example&abc=I,J"> I,J </a> - <a class="dl" href="index.php?module=Example&abc=K,L"> K,L </a> - <a class="dl" href="index.php?module=Example&abc=M,N,O"> M,N,O </a> - <a class="dl" href="index.php?module=Example&abc=P,Q,R"> P,Q,R </a> - <a class="dl" href="index.php?module=Example&abc=S,T"> S,T </a> - <a class="dl" href="index.php?module=Example&abc=U,V,W,X,Y,Z"> U,V,W,X,Y,Z </a></span>
Parameters
Parameters
| string | $posvar |
|
| cvs | $forwardvars |
|
| cvs | $additionalvars |
|
| string | $class_num |
|
| string | $class_numon |
|
| string | $separator |
|
| string | $printempty |
|
| string | $lang |
|
| array | $names |
|
| string | $skin |
|
| $params | ||
| &$smarty |
