3 # FILE: TransportControlsUI.php 5 # Part of the Collection Workflow Integration System (CWIS) 6 # Copyright 2015 Edward Almasy and Internet Scout Research Group 7 # http://scout.wisc.edu/cwis/ 20 # ---- PUBLIC INTERFACE -------------------------------------------------- 22 # parameter ($_GET) variable names 51 ?><div
class=
"cw-transport-controls clearfix">
55 $TitleAttrib =
"Go to first page";
56 if (isset($TypeName)) { $TitleAttrib .=
" of ".$TypeName; }
57 ?><div
class=
"cw-transport-controls-left">
58 <a
class=
"StyledButton NavStyledButton" 59 href=
"<?PHP print $this->GoToStartLink(); ?>" 60 title=
"<?= $TitleAttrib ?>">|<span
61 style=
"position:relative; bottom: 1px;"><</span></a>
66 $TitleAttrib =
"Jump back";
67 if (isset($TypeName)) { $TitleAttrib .=
" in ".$TypeName; }
68 ?><a
class=
"StyledButton NavStyledButton" 69 href=
"<?PHP print $this->FastReverseLink(); ?>" 70 title=
"<?= $TitleAttrib ?>"><<</a> <?
PHP 75 $TitleAttrib =
"Go to previous page";
76 if (isset($TypeName)) { $TitleAttrib .=
" of ".$TypeName; }
77 ?><a
class=
"StyledButton NavStyledButton" 78 href=
"<?PHP print $this->ReverseLink(); ?>" 79 title=
"<?= $TitleAttrib ?>"><</a> <?
PHP 87 ?><div
class=
"cw-transport-controls-right">
92 $TitleAttrib =
"Go to next page";
93 if (isset($TypeName)) { $TitleAttrib .=
" of ".$TypeName; }
94 ?><a
class=
"StyledButton NavStyledButton" 95 href=
"<?PHP print $this->ForwardLink(); ?>" 96 title=
"<?= $TitleAttrib ?>">></a> <?
PHP 101 $TitleAttrib =
"Jump forward";
102 if (isset($TypeName)) { $TitleAttrib .=
" in ".$TypeName; }
103 ?><a
class=
"StyledButton NavStyledButton" 104 href=
"<?PHP print $this->FastForwardLink(); ?>" 105 title=
"<?= $TitleAttrib ?>">>></a> <?
PHP 108 $TitleAttrib =
"Go to last page";
109 if (isset($TypeName)) { $TitleAttrib .=
" of ".$TypeName; }
110 ?><a
class=
"StyledButton NavStyledButton" 111 href=
"<?PHP print $this->GoToEndLink(); ?>" 112 title=
"<?= $TitleAttrib ?>">><span
113 style=
"position:relative; bottom: 1px;">|</span></a>
119 ?><div
class=
"cw-transport-controls-msg-left-only clearfix"><?
PHP 120 print strlen($Message) ? $Message :
" ";
126 ?><div
class=
"cw-transport-controls-msg-right-only clearfix"><?
PHP 127 print strlen($Message) ? $Message :
" ";
132 ?><div
class=
"cw-transport-controls-msg clearfix"><?
PHP 133 print strlen($Message) ? $Message :
" ";
141 print strlen($Message) ? $Message :
" ";
ShowForwardButton()
Report whether forward button should be displayed.
static Pluralize($Word)
Pluralize an English word.
ShowAnyForwardButtons()
Report whether any forward buttons should be displayed.
Class to provide support for transport controls (used for paging back and forth through a list) in th...
Class to provide support for transport controls (used for paging back and forth through a list) in th...
ShowReverseButton()
Report whether reverse button should be displayed.
ShowAnyReverseButtons()
Report whether any reverse buttons should be displayed.
ShowFastReverseButton()
Report whether fast reverse button should be displayed.
ItemTypeNames($Names=NULL)
Get/set printable names for item types.
SetBaseLink($BaseLink)
Set current base link for Link methods.
ShowFastForwardButton()
Report whether fast forward button should be displayed.
PrintControls($ItemType, $BaseLink, $Message="")
Print transport control HTML.
SetItemType($ItemType)
Set current item type for Show or Link methods.
const PNAME_STARTINGINDEX